From e422c7f883a5e8b35421cce23686757966b08fd0 Mon Sep 17 00:00:00 2001 From: carkom Date: Fri, 8 Sep 2023 07:09:31 +0100 Subject: [PATCH] error fix --- .../src/components/schedules/StatusBadge.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/desktop-client/src/components/schedules/StatusBadge.tsx b/packages/desktop-client/src/components/schedules/StatusBadge.tsx index 973a53a1986..21e28a276fd 100644 --- a/packages/desktop-client/src/components/schedules/StatusBadge.tsx +++ b/packages/desktop-client/src/components/schedules/StatusBadge.tsx @@ -14,7 +14,7 @@ import Text from '../common/Text'; import View from '../common/View'; export function getStatusProps(status: Status) { - let color, backgroundColor, Icon; + let color, backgroundColor, borderColor, Icon; switch (status) { case 'missed': @@ -66,9 +66,9 @@ export function getStatusProps(status: Status) { Icon = CheckCircle1; break; default: - color = theme.buttonDisabledText; - backgroundColor = theme.buttonDisabledBackground; - borderColor = theme.buttonDisabledBorder; + color = theme.buttonNormalDisabledText; + backgroundColor = theme.buttonNormalDisabledBackground; + borderColor = theme.buttonNormalDisabledBorder; Icon = CheckCircleHollow; break; }