RW checkbox in "Load image from external server" works opposite way
Signed-off-by: MichalX Szopinski <michalx.szopinski@intel.com>
Change-Id: I1670aa0775a2276963f72ea8a7e8bb0b15c27ee0
diff --git a/src/views/Control/VirtualMedia/VirtualMedia.vue b/src/views/Control/VirtualMedia/VirtualMedia.vue
index 6b4fc4b..fe2b51f 100644
--- a/src/views/Control/VirtualMedia/VirtualMedia.vue
+++ b/src/views/Control/VirtualMedia/VirtualMedia.vue
@@ -170,7 +170,7 @@
data.Image = connectionData.serverUri;
data.UserName = connectionData.username;
data.Password = connectionData.password;
- data.WriteProtected = connectionData.isRW;
+ data.WriteProtected = !connectionData.isRW;
this.startLoader();
this.$store
.dispatch('virtualMedia/mountImage', {