diff options
author | Maksim Zakharov <m.zakharov@IBS.RU> | 2022-08-17 16:21:53 +0300 |
---|---|---|
committer | Maksim Zakharov <m.zakharov@IBS.RU> | 2022-08-17 16:21:53 +0300 |
commit | 6a19d0c55f1a6c98327c008c4e5f27885a9ecc83 (patch) | |
tree | 9f4454fa473e8a8a3b0fd48c16c8e33cd704dbf3 /src/components | |
parent | 3507027dd1bb7d28839e283738c5b55d633ec451 (diff) | |
download | webui-vue-6a19d0c55f1a6c98327c008c4e5f27885a9ecc83.tar.xz |
add readonly btn for tables and reset
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)" > |