working leantime widget 61

This commit is contained in:
Alma 2025-04-12 16:01:46 +02:00
parent b438693bf1
commit 257606726c

View File

@ -41,12 +41,16 @@ export function Flow() {
const getStatusLabel = (status: number): string => { const getStatusLabel = (status: number): string => {
switch (status) { switch (status) {
case 3: case 0:
return 'NEW'; return 'NEW';
case 1: case 1:
case 4:
return 'INPROGRESS'; return 'INPROGRESS';
case 2: case 2:
return 'DONE';
case 3:
return 'NEW';
case 4:
return 'INPROGRESS';
case 5: case 5:
return 'DONE'; return 'DONE';
default: default: