File tree Expand file tree Collapse file tree
resources/js/components/cards/data Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -75,7 +75,7 @@ const emit = defineEmits(['clickAction']);
7575 data .status === ' pending' ? ' bg-[#e4e4e4] text-gray-900 dark:bg-white' : ' text-white' ,
7676 { ' bg-primary dark:bg-primary-dark' : data .status === ' processing' },
7777 { ' bg-amber-500 text-gray-900' : data .status === ' incomplete' },
78- { ' bg-danger-2 dark:bg-rose-700 ' : data .status === ' cancelled' },
78+ { ' bg-danger-2 dark:bg-danger-3 ' : data .status === ' cancelled' || data . status === ' failed ' },
7979 { ' bg-[#660099]' : data .status === ' completed' },
8080 )
8181 "
Original file line number Diff line number Diff line change @@ -194,7 +194,7 @@ watch(
194194 data .status === ' pending' ? ' bg-[#e4e4e4] text-gray-900 dark:bg-white' : ' text-white' ,
195195 { ' bg-primary dark:bg-primary-dark' : data .status === ' processing' },
196196 { ' bg-amber-500 text-gray-900!' : data .status === ' incomplete' },
197- { ' bg-danger-2 dark:bg-rose-700 ' : data .status === ' cancelled' },
197+ { ' bg-danger-2 dark:bg-danger-3 ' : data .status === ' cancelled' || data . status === ' failed ' },
198198 { ' bg-[#660099]' : data .status === ' completed' },
199199 )
200200 "
You can’t perform that action at this time.
0 commit comments