Skip to content

Commit 4978b76

Browse files
committed
fix: build
1 parent 9bdb8b2 commit 4978b76

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/Graphs/useGraph.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ export function useGraph(colorBy: ColorBy, onYamlClick: (item: ManagedResourceIt
110110
const status = statusCond?.status === 'True' ? 'OK' : 'ERROR';
111111

112112
let fluxName: string | undefined;
113-
const labelsMap = (item.metadata as { labels?: Record<string, string> }).labels;
113+
const labelsMap = (item.metadata as unknown as { labels?: Record<string, string> }).labels;
114114
if (labelsMap) {
115115
const key = Object.keys(labelsMap).find((k) => k.endsWith('/name'));
116116
if (key) fluxName = labelsMap[key];

0 commit comments

Comments
 (0)