diff --git a/apps/desktop/scripts/tauri-with-stub.mjs b/apps/desktop/scripts/tauri-with-stub.mjs index 497f67e..974ca3f 100644 --- a/apps/desktop/scripts/tauri-with-stub.mjs +++ b/apps/desktop/scripts/tauri-with-stub.mjs @@ -23,7 +23,7 @@ if (!process.env.TAURI_BUNDLE_TARGETS) { } } -const executable = process.platform === "win32" ? "tauri.cmd" : "tauri" +const executable = process.platform === "win32" ? resolve(stubDir, "tauri.cmd") : "tauri" const child = spawn(executable, process.argv.slice(2), { stdio: "inherit", shell: false, diff --git a/src/components/tickets/ticket-queue-summary.tsx b/src/components/tickets/ticket-queue-summary.tsx index f584ae7..035e3b4 100644 --- a/src/components/tickets/ticket-queue-summary.tsx +++ b/src/components/tickets/ticket-queue-summary.tsx @@ -16,15 +16,15 @@ interface TicketQueueSummaryProps { function resolveSlaTone(percent: number) { if (percent < 25) { - return { indicator: "bg-[#00e8ff]", text: "text-sky-600" } + return { indicatorClass: "bg-[#00e8ff]", textClass: "text-[#00e8ff]" } } if (percent < 50) { - return { indicator: "bg-emerald-400", text: "text-emerald-600" } + return { indicatorClass: "bg-emerald-400", textClass: "text-emerald-500" } } if (percent < 75) { - return { indicator: "bg-amber-400", text: "text-amber-600" } + return { indicatorClass: "bg-amber-400", textClass: "text-amber-500" } } - return { indicator: "bg-rose-500", text: "text-rose-600" } + return { indicatorClass: "bg-rose-500", textClass: "text-rose-500" } } export function TicketQueueSummaryCards({ queues, layout = "default" }: TicketQueueSummaryProps) { @@ -106,8 +106,8 @@ export function TicketQueueSummaryCards({ queues, layout = "default" }: TicketQu
- - + + {breachPercent}% dos chamados da fila estão fora do SLA