diff options
author | Vitalii Lysak <v.lysak@dunice.net> | 2022-07-04 22:06:48 +0300 |
---|---|---|
committer | Vitalii Lysak <v.lysak@dunice.net> | 2022-07-04 22:06:48 +0300 |
commit | 24db902588214be54d651f627a080b61bfc39a38 (patch) | |
tree | 1f1ce272de6aae3db8241dde166d766edf94c396 /src/views | |
parent | 83b1f3104e0564ca40bdeaf08f7f728e423e7f85 (diff) | |
download | webui-vue-24db902588214be54d651f627a080b61bfc39a38.tar.xz |
add file name
Diffstat (limited to 'src/views')
-rw-r--r-- | src/views/Fans/StaticInformation/FansStaticPage.vue | 2 | ||||
-rw-r--r-- | src/views/Operations/VirtualMedia/VirtualMedia.vue | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/src/views/Fans/StaticInformation/FansStaticPage.vue b/src/views/Fans/StaticInformation/FansStaticPage.vue index a9f2d68b..68e460cd 100644 --- a/src/views/Fans/StaticInformation/FansStaticPage.vue +++ b/src/views/Fans/StaticInformation/FansStaticPage.vue @@ -81,7 +81,7 @@ export default { }, { key: 'currentValue', - label: 'Номинальная скорость, об/мин', + label: 'Текущая скорость, об/мин', formatter: this.dataFormatter, thClass: 'semi-bold-12px__caps bootstrap-rounded-table__head_bg', class: `bootstrap-rounded-table__column-last diff --git a/src/views/Operations/VirtualMedia/VirtualMedia.vue b/src/views/Operations/VirtualMedia/VirtualMedia.vue index 85ef4c24..ef306129 100644 --- a/src/views/Operations/VirtualMedia/VirtualMedia.vue +++ b/src/views/Operations/VirtualMedia/VirtualMedia.vue @@ -13,6 +13,7 @@ v-if="!dev.isActive" :id="concatId(dev.id)" v-model="dev.file" + :is-started="isStarted" > <template #invalid> <b-form-invalid-feedback role="alert"> @@ -119,6 +120,7 @@ export default { data() { return { modalConfigureConnection: null, + isStarted: false, loadImageFromExternalServer: process.env.VUE_APP_VIRTUAL_MEDIA_LIST_ENABLED === 'true' ? true @@ -168,9 +170,11 @@ export default { device.nbd.start(); device.isActive = true; + this.isStarted = true; }, stopVM(device) { device.nbd.stop(); + this.isStarted = false; }, startLegacy(connectionData) { var data = {}; |