working leantime widget 61
This commit is contained in:
parent
b438693bf1
commit
257606726c
@ -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:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user