working leantime widget 10
This commit is contained in:
parent
af09f37458
commit
598994a1f9
@ -13,7 +13,7 @@ interface StatusLabel {
|
||||
statusType: string;
|
||||
class: string;
|
||||
sortKey: number;
|
||||
kanbanCol: boolean;
|
||||
kanbanCol: boolean | string;
|
||||
}
|
||||
|
||||
interface Project {
|
||||
@ -50,7 +50,7 @@ export function Flow() {
|
||||
}
|
||||
|
||||
const data = await response.json();
|
||||
setProjects(data.projects);
|
||||
setProjects(data.projects || []);
|
||||
setError(null);
|
||||
} catch (err) {
|
||||
console.error('Error fetching status labels:', err);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user