dark and light favicon

This commit is contained in:
Jun-te Kim 2026-02-20 13:20:17 +00:00
parent ecfaf8e237
commit 2d22478cd2

View file

@ -143,6 +143,14 @@ export function DealStageChart({ deals, onOpenTable }: DealStageChartProps) {
stageName = label || "In Coordination"; // Default to "In Coordination" if no label returned
}
// 🔧 For "Initial Planning" deals, check if coordination status is 'RA ISSUE'
if (stageName === "Initial planning") {
const coordStatusUpper = d.coordinationStatus?.toUpperCase() ?? "";
if (coordStatusUpper === "RA ISSUE") {
stageName = "Queries";
}
}
counts[stageName] = (counts[stageName] || 0) + 1;
});
@ -165,6 +173,14 @@ export function DealStageChart({ deals, onOpenTable }: DealStageChartProps) {
stageName = label || "In Coordination"; // Default to "In Coordination" if no label returned
}
// 🔧 For "Initial Planning" deals, check if coordination status is 'RA ISSUE'
if (stageName === "Initial planning") {
const coordStatusUpper = d.coordinationStatus?.toUpperCase() ?? "";
if (coordStatusUpper === "RA ISSUE") {
stageName = "Queries";
}
}
return stageName === value.name;
})
.map((d) => ({