diff options
Diffstat (limited to 'src/components')
-rw-r--r-- | src/components/_sila/Global/TableRowAction.vue | 4 |
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)" > |