From 0192fb7bf6141346d3902611a7049775c9d73e79 Mon Sep 17 00:00:00 2001 From: Tsu-ba-me Date: Wed, 24 Jan 2024 17:41:12 -0500 Subject: [PATCH] fix(striker-ui): add empty list message to mail server, recipient management --- .../components/ManageMailRecipient/ManageMailRecipient.tsx | 1 + striker-ui/components/ManageMailServer/ManageMailServer.tsx | 1 + 2 files changed, 2 insertions(+) diff --git a/striker-ui/components/ManageMailRecipient/ManageMailRecipient.tsx b/striker-ui/components/ManageMailRecipient/ManageMailRecipient.tsx index 45fdebb6..97f02e08 100644 --- a/striker-ui/components/ManageMailRecipient/ManageMailRecipient.tsx +++ b/striker-ui/components/ManageMailRecipient/ManageMailRecipient.tsx @@ -167,6 +167,7 @@ const ManageMailRecipient: FC = () => { children: <>Successfully deleted mail recipient(s)., })} getEditLoading={(previous) => previous || loadingAlertOverrides} + listEmpty="No mail recipient(s) found." onItemClick={(base, ...args) => { const [, mailRecipientUuid] = args; diff --git a/striker-ui/components/ManageMailServer/ManageMailServer.tsx b/striker-ui/components/ManageMailServer/ManageMailServer.tsx index 29542f35..16a02a5e 100644 --- a/striker-ui/components/ManageMailServer/ManageMailServer.tsx +++ b/striker-ui/components/ManageMailServer/ManageMailServer.tsx @@ -27,6 +27,7 @@ const ManageMailServer: FC = () => { getDeleteSuccessMessage={() => ({ children: <>Successfully deleted mail server(s)., })} + listEmpty="No mail server(s) found" renderAddForm={(tools) => host && (