diff --git a/components/flow.tsx b/components/flow.tsx index e6d504a7..c5b30b57 100644 --- a/components/flow.tsx +++ b/components/flow.tsx @@ -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);