Reworking empty-states for all pages and tables. Removing custom isEmpty in favor of lodash.

This commit is contained in:
Roland 2023-01-04 09:14:33 -07:00
parent 78aa6bfd1d
commit 0621cd184d
No known key found for this signature in database
GPG key ID: 9D6DBD3ACF11AB93
11 changed files with 82 additions and 87 deletions

View file

@ -19,7 +19,6 @@ import {
DirectoryInput,
frequencyOptions,
humanFileSize,
isEmpty,
isoDatetimeToString,
RequiredAsterisk,
secondsToFrequency,
@ -547,7 +546,7 @@ export function Channels() {
</TableBody>
</Table>
</>
} else if (isEmpty(channels)) {
} else if (_.isEmpty(channels)) {
return <>
{header}
<Message>