Disable "Delete Results" button if no results, for row grid

This commit is contained in:
Lance Edgar 2022-08-31 16:41:58 -05:00
parent 35728e20be
commit b5a519d132

View file

@ -361,6 +361,7 @@
% if use_buefy and master.rows_bulk_deletable and not batch.executed and master.has_perm('delete_rows'): % if use_buefy and master.rows_bulk_deletable and not batch.executed and master.has_perm('delete_rows'):
<b-button type="is-danger" <b-button type="is-danger"
@click="deleteResultsInit()" @click="deleteResultsInit()"
:disabled="!total"
icon-pack="fas" icon-pack="fas"
icon-left="trash"> icon-left="trash">
Delete Results Delete Results