fix(striker-ui): add empty list message to mail server, recipient management

main
Tsu-ba-me 11 months ago
parent cecd0d7cd6
commit 0192fb7bf6
  1. 1
      striker-ui/components/ManageMailRecipient/ManageMailRecipient.tsx
  2. 1
      striker-ui/components/ManageMailServer/ManageMailServer.tsx

@ -167,6 +167,7 @@ const ManageMailRecipient: FC = () => {
children: <>Successfully deleted mail recipient(s).</>, children: <>Successfully deleted mail recipient(s).</>,
})} })}
getEditLoading={(previous) => previous || loadingAlertOverrides} getEditLoading={(previous) => previous || loadingAlertOverrides}
listEmpty="No mail recipient(s) found."
onItemClick={(base, ...args) => { onItemClick={(base, ...args) => {
const [, mailRecipientUuid] = args; const [, mailRecipientUuid] = args;

@ -27,6 +27,7 @@ const ManageMailServer: FC = () => {
getDeleteSuccessMessage={() => ({ getDeleteSuccessMessage={() => ({
children: <>Successfully deleted mail server(s).</>, children: <>Successfully deleted mail server(s).</>,
})} })}
listEmpty="No mail server(s) found"
renderAddForm={(tools) => renderAddForm={(tools) =>
host && ( host && (
<AddMailServerForm localhostDomain={host.domain} tools={tools} /> <AddMailServerForm localhostDomain={host.domain} tools={tools} />

Loading…
Cancel
Save