Skip to content

Commit 8765016

Browse files
authored
Fix Color of Arrow Down / Up (#2034)
1 parent b153551 commit 8765016

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • workspaces/redhat-resource-optimization/plugins/redhat-resource-optimization/src/pages/openshift

workspaces/redhat-resource-optimization/plugins/redhat-resource-optimization/src/pages/openshift/OpenShiftPage.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -582,7 +582,7 @@ export function OpenShiftPage() {
582582

583583
const columns = useMemo<TableColumn<ProjectCost>[]>(() => {
584584
const getChangeColor = (change: number) => {
585-
if (change > 0) return '#d32f2f';
585+
if (change < 0) return '#d32f2f';
586586
if (isDarkMode) return '#4BB543';
587587
return '#2e7d32';
588588
};

0 commit comments

Comments
 (0)