summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlicja Rybak <alicja.rybak@intel.com>2021-04-30 13:49:12 +0300
committerGunnar Mills <gmills@us.ibm.com>2021-05-06 19:46:56 +0300
commit15bcc41f748a79201eebd46496256621870a527e (patch)
treeee16313046d8ac590c2cfbe39b92d5558bd363c6
parentbfce3de622f40deea3d1879f9a3d0e999a6fe26b (diff)
downloadwebui-vue-15bcc41f748a79201eebd46496256621870a527e.tar.xz
Fix toast message for VM Legacy successful mount
Add new toast message string serverConnectionEstablished for succesfully mounted image in Legacy mode. Previously serverClosedSuccessfully toast was showed. Tested: Verified that Server connection established toast message shows in webui after mounting image in legacy mode. Signed-off-by: Alicja Rybak <alicja.rybak@intel.com> Change-Id: I79b8bc3243ecc1a29a28f2441d499454747676c2
-rw-r--r--src/locales/en-US.json1
-rw-r--r--src/views/Control/VirtualMedia/VirtualMedia.vue2
2 files changed, 2 insertions, 1 deletions
diff --git a/src/locales/en-US.json b/src/locales/en-US.json
index 41957c04..5c912f8c 100644
--- a/src/locales/en-US.json
+++ b/src/locales/en-US.json
@@ -806,6 +806,7 @@
"errorReadingFile": "Error reading file. Closing server.",
"errorUnmounting": "Error unmounting",
"serverRunning": "Server running",
+ "serverConnectionEstablished": "Server connection established",
"serverClosedSuccessfully": "Server closed successfully",
"serverClosedWithErrors": "Server closed with errors"
}
diff --git a/src/views/Control/VirtualMedia/VirtualMedia.vue b/src/views/Control/VirtualMedia/VirtualMedia.vue
index fe2b51f4..8a3d5add 100644
--- a/src/views/Control/VirtualMedia/VirtualMedia.vue
+++ b/src/views/Control/VirtualMedia/VirtualMedia.vue
@@ -179,7 +179,7 @@ export default {
})
.then(() => {
this.successToast(
- this.$t('pageVirtualMedia.toast.serverClosedSuccessfully')
+ this.$t('pageVirtualMedia.toast.serverConnectionEstablished')
);
connectionData.isActive = true;
})