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