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/Firmware/FirmwareFormUpdate.vue | |
parent | 5fff754d48ec658673c11f8e593d3af4f94d79df (diff) | |
download | webui-vue-b4d1fb8b8e6e6cdb7be76a2d4fa0d2b9a84f3ba2.tar.xz |
SILABMC-236: upd layput for ReadOnly role
Diffstat (limited to 'src/views/_sila/Operations/Firmware/FirmwareFormUpdate.vue')
-rw-r--r-- | src/views/_sila/Operations/Firmware/FirmwareFormUpdate.vue | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/views/_sila/Operations/Firmware/FirmwareFormUpdate.vue b/src/views/_sila/Operations/Firmware/FirmwareFormUpdate.vue index 23fe90f2..dcf867ee 100644 --- a/src/views/_sila/Operations/Firmware/FirmwareFormUpdate.vue +++ b/src/views/_sila/Operations/Firmware/FirmwareFormUpdate.vue @@ -60,7 +60,10 @@ data-test-id="firmware-button-startUpdate" type="submit" variant="primary" - :disabled="isPageDisabled" + :disabled=" + isPageDisabled || + $store.getters['authentication/role'] === 'ReadOnly' + " > {{ $t('pageFirmware.form.updateFirmware.startUpdate') }} </b-btn> |