@ssplib/react-components 0.0.53 → 0.0.54
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.
|
@@ -122,7 +122,7 @@ function Table({ columns, fetchFunc, emptyMsg = {
|
|
|
122
122
|
return;
|
|
123
123
|
let exists = false;
|
|
124
124
|
dataStr.forEach((key) => {
|
|
125
|
-
const status = ['P', 'C', 'R'];
|
|
125
|
+
const status = ['P', 'C', 'A', 'R'];
|
|
126
126
|
if (status.includes(key)) {
|
|
127
127
|
switch (key) {
|
|
128
128
|
case 'P':
|
|
@@ -131,12 +131,12 @@ function Table({ columns, fetchFunc, emptyMsg = {
|
|
|
131
131
|
}
|
|
132
132
|
return;
|
|
133
133
|
case 'C':
|
|
134
|
-
if ('
|
|
134
|
+
if ('cancelado'.includes(searchValue.toLowerCase())) {
|
|
135
135
|
exists = true;
|
|
136
136
|
}
|
|
137
137
|
return;
|
|
138
138
|
case 'A':
|
|
139
|
-
if ('
|
|
139
|
+
if ('cadastrado'.includes(searchValue.toLowerCase())) {
|
|
140
140
|
exists = true;
|
|
141
141
|
}
|
|
142
142
|
return;
|