Change delete menu title if selected

Closes #133
This commit is contained in:
Brandon Presley 2022-12-22 16:18:05 +13:00
parent f9e357ff80
commit fb19685bb5
1 changed files with 1 additions and 1 deletions

View File

@ -77,7 +77,7 @@ export default function ListMenu({
title="Delete"
/>
<ConfirmDialog
title="Delete all"
title={ids?.length === 0 ? 'Delete all' : 'Delete selected'}
show={showRemove}
setShow={setShowRemove}
onOk={remove}