diff options
author | Vitalii Lysak <v.lysak@dunice.net> | 2022-08-10 15:46:15 +0300 |
---|---|---|
committer | Vitalii Lysak <v.lysak@dunice.net> | 2022-08-10 15:46:15 +0300 |
commit | b4d1fb8b8e6e6cdb7be76a2d4fa0d2b9a84f3ba2 (patch) | |
tree | 8806fa43f2e0d1301a89ddd4c7667d10568e531f /src/views/_sila/Operations/VirtualMedia/VirtualMedia.vue | |
parent | 5fff754d48ec658673c11f8e593d3af4f94d79df (diff) | |
download | webui-vue-b4d1fb8b8e6e6cdb7be76a2d4fa0d2b9a84f3ba2.tar.xz |
SILABMC-236: upd layput for ReadOnly role
Diffstat (limited to 'src/views/_sila/Operations/VirtualMedia/VirtualMedia.vue')
-rw-r--r-- | src/views/_sila/Operations/VirtualMedia/VirtualMedia.vue | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/views/_sila/Operations/VirtualMedia/VirtualMedia.vue b/src/views/_sila/Operations/VirtualMedia/VirtualMedia.vue index 8b396f41..be5e2ee9 100644 --- a/src/views/_sila/Operations/VirtualMedia/VirtualMedia.vue +++ b/src/views/_sila/Operations/VirtualMedia/VirtualMedia.vue @@ -17,6 +17,9 @@ v-if="!dev.isActive" :id="concatId(dev.id)" v-model="dev.file" + :disabled=" + $store.getters['authentication/role'] === 'ReadOnly' + " > <template #invalid> <b-form-invalid-feedback role="alert"> @@ -73,7 +76,10 @@ > <b-button variant="primary" - :disabled="device.isActive" + :disabled=" + device.isActive || + $store.getters['authentication/role'] === 'ReadOnly' + " @click="configureConnection(device)" > {{ $t('pageVirtualMedia.configureConnection') }} |