diff --git a/apps/client/src/features/app-settings/panel-utils/PanelUtils.module.scss b/apps/client/src/features/app-settings/panel-utils/PanelUtils.module.scss index 0efe9563a..722e366ee 100644 --- a/apps/client/src/features/app-settings/panel-utils/PanelUtils.module.scss +++ b/apps/client/src/features/app-settings/panel-utils/PanelUtils.module.scss @@ -163,6 +163,20 @@ $inner-padding: 1rem; animation: animloader 1s ease-in infinite; } +.empty { + background-color: $black-10; + text-align: center; + color: $muted-gray; + + td { + padding: 2rem; + } + + button { + margin-top: 1rem; + } +} + @keyframes animloader { 0% { transform: scale(0); diff --git a/apps/client/src/features/app-settings/panel-utils/PanelUtils.tsx b/apps/client/src/features/app-settings/panel-utils/PanelUtils.tsx index 4020d73d6..fa9bcde24 100644 --- a/apps/client/src/features/app-settings/panel-utils/PanelUtils.tsx +++ b/apps/client/src/features/app-settings/panel-utils/PanelUtils.tsx @@ -1,4 +1,6 @@ import { HTMLAttributes, ReactNode } from 'react'; +import { Button } from '@chakra-ui/react'; +import { IoAdd } from '@react-icons/all-files/io5/IoAdd'; import { cx } from '../../../common/utils/styleUtils'; @@ -52,8 +54,21 @@ export function Table({ className, children }: { className?: string; children: R ); } -export function ListGroup({ children }: { children: ReactNode }) { - return