},
handler: 'rollback',
},
+ {
+ xtype: 'proxmoxButton',
+ text: gettext('Edit'),
+ bind: {
+ text: '{buttonText}',
+ disabled: '{!isSnapshot}',
+ },
+ disabled: true,
+ edit: true,
+ handler: 'editSnapshot',
+ },
{
xtype: 'proxmoxButton',
text: gettext('Remove'),
disabled: true,
+ dangerous: true,
bind: {
disabled: '{!canRemove}',
},
},
handler: 'remove',
},
- {
- xtype: 'proxmoxButton',
- text: gettext('Edit'),
- bind: {
- text: '{buttonText}',
- disabled: '{!isSnapshot}',
- },
- disabled: true,
- edit: true,
- handler: 'editSnapshot',
- },
{
xtype: 'label',
text: gettext("The current guest configuration does not support taking new snapshots"),