summaryrefslogtreecommitdiff
path: root/src/components/_sila
diff options
context:
space:
mode:
authorVitalii Lysak <v.lysak@dunice.net>2022-08-17 17:02:13 +0300
committerVitalii Lysak <v.lysak@dunice.net>2022-08-17 17:02:13 +0300
commitb7691ca4cf12a658d19748dcc243f584a69666f8 (patch)
treefea94673022b48eb7cb3b2a51c8d5f4d47d4247e /src/components/_sila
parentc1407327f732565819d73fe6b8fbf50c3871e500 (diff)
parent6a19d0c55f1a6c98327c008c4e5f27885a9ecc83 (diff)
downloadwebui-vue-b7691ca4cf12a658d19748dcc243f584a69666f8.tar.xz
Merge branch 'sila' of git.sila.ru:pub/openbmc/webui-vue into sila
Diffstat (limited to 'src/components/_sila')
-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)"
>