fix: dashboard re-render
This commit is contained in:
+1
-7
@@ -3,13 +3,7 @@ export const isNotEmptyValue = (value: any) => {
|
||||
if (Array.isArray(value)) {
|
||||
return value.length > 0;
|
||||
}
|
||||
return (
|
||||
value !== null &&
|
||||
value !== undefined &&
|
||||
value !== '' &&
|
||||
value !== false &&
|
||||
value !== 0
|
||||
);
|
||||
return !!value || value === 0 || value === false;
|
||||
};
|
||||
|
||||
export const handleBatchRequest = async (
|
||||
|
||||
Reference in New Issue
Block a user