summaryrefslogtreecommitdiff
path: root/src/components/_sila/Global/TableToolbar.vue
diff options
context:
space:
mode:
authorVitalii Lysak <v.lysak@dunice.net>2022-08-10 15:46:15 +0300
committerVitalii Lysak <v.lysak@dunice.net>2022-08-10 15:46:15 +0300
commitb4d1fb8b8e6e6cdb7be76a2d4fa0d2b9a84f3ba2 (patch)
tree8806fa43f2e0d1301a89ddd4c7667d10568e531f /src/components/_sila/Global/TableToolbar.vue
parent5fff754d48ec658673c11f8e593d3af4f94d79df (diff)
downloadwebui-vue-b4d1fb8b8e6e6cdb7be76a2d4fa0d2b9a84f3ba2.tar.xz
SILABMC-236: upd layput for ReadOnly role
Diffstat (limited to 'src/components/_sila/Global/TableToolbar.vue')
-rw-r--r--src/components/_sila/Global/TableToolbar.vue1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/components/_sila/Global/TableToolbar.vue b/src/components/_sila/Global/TableToolbar.vue
index 028b0497..53d004cf 100644
--- a/src/components/_sila/Global/TableToolbar.vue
+++ b/src/components/_sila/Global/TableToolbar.vue
@@ -13,6 +13,7 @@
:data-test-id="`table-button-${action.value}Selected`"
variant="primary"
class="d-block"
+ :disabled="$store.getters['authentication/role'] === 'ReadOnly'"
@click="$emit('batch-action', action.value)"
>
{{ action.label }}