[pbs-devel] [PATCH v2 proxmox-backup] ui: warn of missing gc-schedule, prune/verify jobs
Gabriel Goller
g.goller at proxmox.com
Wed Dec 6 10:07:19 CET 2023
On 12/5/23 11:19, Christian Ebner wrote:
> [..]
> @@ -115,6 +177,14 @@ Ext.define('PBS.DataStoreInfo', {
> });
> me.store.on('load', me.onLoad, me);
> },
> +
> + initComponent: function() {
> + let me = this;
> + let vm = me.getViewModel();
> + vm.set('gcScheduleMsg', me.fmtMissing(gettext('unknown')));
> + vm.set('pruneJobMsg', me.fmtMissing(gettext('unknown')));
> + vm.set('verifyJobMsg', me.fmtMissing(gettext('unknown')));
> + },
> },
`initComponent` won't be executed, because it is in a controller, not a
regular extjs component.
It works if you move these lines up to the `init()` function above.
> [..]
Otherwise it LGTM!
More information about the pbs-devel
mailing list