@@ -12,7 +12,7 @@ function cn(...inputs: ClassValue[]) {
12
12
function variantStatusPriority ( priority : SupplyPriority ) {
13
13
if ( priority === SupplyPriority . Needing ) return 'danger' ;
14
14
if ( priority === SupplyPriority . Urgent ) return 'warn' ;
15
- if ( priority === SupplyPriority . UnderControl ) return 'alert' ;
15
+ if ( priority === SupplyPriority . NotNeeded ) return 'alert' ;
16
16
if ( priority === SupplyPriority . Remaining ) return 'success' ;
17
17
}
18
18
@@ -22,7 +22,7 @@ function variantStatusPriority(priority: SupplyPriority) {
22
22
const colorStatusPriority = ( priority : SupplyPriority ) => {
23
23
if ( priority === SupplyPriority . Needing ) return 'bg-[#f69f9d]' ;
24
24
if ( priority === SupplyPriority . Urgent ) return 'bg-[#f8b993]' ;
25
- if ( priority === SupplyPriority . UnderControl ) return 'bg-[#f9cf8d]' ;
25
+ if ( priority === SupplyPriority . NotNeeded ) return 'bg-[#f9cf8d]' ;
26
26
if ( priority === SupplyPriority . Remaining ) return 'bg-[#63bc43]' ;
27
27
} ;
28
28
@@ -32,7 +32,7 @@ const colorStatusPriority = (priority: SupplyPriority) => {
32
32
function nameStatusPriority ( priority : SupplyPriority ) {
33
33
if ( priority === SupplyPriority . Needing ) return 'Precisa urgentimente' ;
34
34
if ( priority === SupplyPriority . Urgent ) return 'Precisa' ;
35
- if ( priority === SupplyPriority . UnderControl ) return 'Sob-controle ' ;
35
+ if ( priority === SupplyPriority . NotNeeded ) return 'Não preciso ' ;
36
36
if ( priority === SupplyPriority . Remaining ) return 'Disponível para doação' ;
37
37
}
38
38
@@ -60,10 +60,10 @@ function getAvailabilityProps(
60
60
61
61
function getSupplyPriorityProps ( priority : SupplyPriority ) {
62
62
switch ( priority ) {
63
- case SupplyPriority . UnderControl :
63
+ case SupplyPriority . NotNeeded :
64
64
return {
65
- label : 'Sob controle ' ,
66
- className : 'bg-light-yellow ' ,
65
+ label : 'Não preciso ' ,
66
+ className : 'bg-gray-200 ' ,
67
67
} ;
68
68
case SupplyPriority . Remaining :
69
69
return {
0 commit comments