summaryrefslogtreecommitdiff
path: root/web/share/js
diff options
context:
space:
mode:
authorMaxim Devaev <[email protected]>2022-07-24 05:49:14 +0300
committerMaxim Devaev <[email protected]>2022-07-24 05:49:14 +0300
commit88b2e90438c861ead6f131b5987eb4348f004ec6 (patch)
tree4a032ba09803dc2ebaa2d96f0aa142f3db5c80a8 /web/share/js
parent0e3ebac3627fe5039957d2d48d68d8620ff9384f (diff)
rw warning
Diffstat (limited to 'web/share/js')
-rw-r--r--web/share/js/kvm/msd.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/web/share/js/kvm/msd.js b/web/share/js/kvm/msd.js
index 4e85239f..3e0fb9ae 100644
--- a/web/share/js/kvm/msd.js
+++ b/web/share/js/kvm/msd.js
@@ -318,6 +318,8 @@ export function Msd() {
(online && s.features.cdrom && s.drive.cdrom && s.drive.image && s.drive.image.size >= 2359296000));
tools.hidden.setVisible($("msd-message-out-of-storage"),
(online && s.features.multi && s.drive.image && !s.drive.image.in_storage));
+ tools.hidden.setVisible($("msd-message-rw-enabled"),
+ (online && s.features.rw && s.drive.rw));
tools.hidden.setVisible($("msd-message-another-user-uploads"),
(online && s.storage.uploading && !__http));
};