@ssplib/react-components 0.0.99 → 0.0.100
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -126,7 +126,7 @@ function Table({ columns, fetchFunc, emptyMsg = {
|
|
|
126
126
|
if (status.includes(key)) {
|
|
127
127
|
switch (key) {
|
|
128
128
|
case 'P':
|
|
129
|
-
if ('
|
|
129
|
+
if ('em analise'.includes(searchValue.toLowerCase())) {
|
|
130
130
|
exists = true;
|
|
131
131
|
}
|
|
132
132
|
return;
|
|
@@ -145,6 +145,11 @@ function Table({ columns, fetchFunc, emptyMsg = {
|
|
|
145
145
|
exists = true;
|
|
146
146
|
}
|
|
147
147
|
return;
|
|
148
|
+
case 'PA':
|
|
149
|
+
if ('pré aprovado'.includes(searchValue.toLowerCase())) {
|
|
150
|
+
exists = true;
|
|
151
|
+
}
|
|
152
|
+
return;
|
|
148
153
|
}
|
|
149
154
|
}
|
|
150
155
|
if (key.toLowerCase().includes(searchValue.toLowerCase())) {
|
|
@@ -243,6 +248,8 @@ function Table({ columns, fetchFunc, emptyMsg = {
|
|
|
243
248
|
return (react_1.default.createElement(Typography_1.default, { color: '#a1a1a1', fontWeight: 600, fontFamily: 'Inter' }, "CANCELADO"));
|
|
244
249
|
case 'R':
|
|
245
250
|
return (react_1.default.createElement(Typography_1.default, { color: '#EF4444', fontWeight: 600, fontFamily: 'Inter' }, "REPROVADO"));
|
|
251
|
+
case 'PA':
|
|
252
|
+
return (react_1.default.createElement(Typography_1.default, { color: '#6989ff', fontWeight: 600, fontFamily: 'Inter' }, "PR\u00C9 APROVADO"));
|
|
246
253
|
}
|
|
247
254
|
}, []);
|
|
248
255
|
const onFilterSelect = (0, react_1.useCallback)((key, newValue) => {
|