Skip to content

Commit 8d0e207

Browse files
authored
Forcing the snapshot memory checkbox to always be checked. (#35)
1 parent f287f12 commit 8d0e207

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

ui/scripts/instances.js

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -191,12 +191,9 @@
191191
label: 'label.vmsnapshot.memory',
192192
docID: 'helpCreateInstanceSnapshotMemory',
193193
isBoolean: true,
194-
isChecked: false,
194+
isChecked: true,
195195
isHidden: function(args) {
196-
if (args.context.instances[0].vgpu != undefined) {
197-
return true;
198-
}
199-
return false;
196+
return true;
200197
},
201198
isDisabled: function(args){
202199
if(args.context.instances[0].state == 'Stopped'){

0 commit comments

Comments
 (0)