[pbs-devel] [PATCH proxmox-backup 5/5] ui: allow resetting unmounting maintenance
Fabian Grünbichler
f.gruenbichler at proxmox.com
Tue Nov 26 13:11:14 CET 2024
Acked-by: Fabian Grünbichler <f.gruenbichler at proxmox.com>
but not applied in case somebody else wants to keep this away from the
UI for now ;)
On November 26, 2024 12:43 pm, Hannes Laimer wrote:
> Signed-off-by: Hannes Laimer <h.laimer at proxmox.com>
> ---
> optional, just added it in case we want it
>
> www/window/MaintenanceOptions.js | 3 +--
> 1 file changed, 1 insertion(+), 2 deletions(-)
>
> diff --git a/www/window/MaintenanceOptions.js b/www/window/MaintenanceOptions.js
> index 896d6a58e..8a88ba2b7 100644
> --- a/www/window/MaintenanceOptions.js
> +++ b/www/window/MaintenanceOptions.js
> @@ -89,12 +89,11 @@ Ext.define('PBS.window.MaintenanceOptions', {
> let unmounting = options['maintenance-type'] === 'unmount';
> let defaultType = options['maintenance-type'] === '__default__';
> if (unmounting) {
> - options['maintenance-type'] = '';
> + options['maintenance-type'] = gettext('Unmounting');
> }
>
> me.callParent([options]);
>
> - me.lookupReference('type-field').setDisabled(unmounting);
> me.lookupReference('message-field').setDisabled(unmounting || defaultType);
> },
> });
> --
> 2.39.5
>
>
>
> _______________________________________________
> pbs-devel mailing list
> pbs-devel at lists.proxmox.com
> https://lists.proxmox.com/cgi-bin/mailman/listinfo/pbs-devel
>
>
>
More information about the pbs-devel
mailing list