Skip to content

Commit

Permalink
Display empty trash bin if deleted files
Browse files Browse the repository at this point in the history
  • Loading branch information
jacob-nv committed Jul 20, 2023
1 parent 9a45b3c commit 6b93c25
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ export const useFileActionsEmptyTrashBin = ({ store }: { store?: Store<any> } =
return false
}

return true
return store.getters['Files/activeFiles'].length > 0
},
componentType: 'button',
class: 'oc-files-actions-empty-trash-bin-trigger',
Expand Down

0 comments on commit 6b93c25

Please sign in to comment.