summaryrefslogtreecommitdiff
path: root/src/components/_sila/Global/TableRowAction.vue
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/_sila/Global/TableRowAction.vue')
-rw-r--r--src/components/_sila/Global/TableRowAction.vue4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/components/_sila/Global/TableRowAction.vue b/src/components/_sila/Global/TableRowAction.vue
index 549f1b52..c18b4f20 100644
--- a/src/components/_sila/Global/TableRowAction.vue
+++ b/src/components/_sila/Global/TableRowAction.vue
@@ -42,7 +42,9 @@
v-else-if="showButton"
variant="link"
:class="{ 'btn-icon-only': btnIconOnly }"
- :disabled="!enabled"
+ :disabled="
+ !enabled || $store.getters['authentication/role'] === 'ReadOnly'
+ "
:title="btnIconOnly ? title : !title"
@click="$emit('click-table-action', value)"
>