Disable "Delete Results" button if no results, for row grid
This commit is contained in:
parent
35728e20be
commit
b5a519d132
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue