Skip to content
This repository has been archived by the owner on Sep 12, 2023. It is now read-only.

Commit

Permalink
feat(resource management): hide batch buttons if none are selected
Browse files Browse the repository at this point in the history
  • Loading branch information
KennethTrecy committed Nov 20, 2022
1 parent e8a641c commit 20a9e89
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -166,10 +166,10 @@ const friendlySelectedRestorableQuantity = computed<string>(
const mayBatchArchive = computed<boolean>(() => hasSelected.value && props.list.some(
data => data.mayArchive
))
) && selectedArchivableItems.value.length > 0)
const mayBatchRestore = computed<boolean>(() => hasSelected.value && props.list.some(
data => data.mayRestore
))
) && selectedRestorableItems.value.length > 0)
function makePath(id: string): string {
if (props.templatePath) {
Expand Down

0 comments on commit 20a9e89

Please sign in to comment.