We have some longer descriptions so the default width looks crammed.
Also, avoid a intermediate variable which is only used once without
any change.
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
isAdd: true,
subject: gettext('Repository'),
+ width: 600,
initComponent: function() {
let me = this;
repoSelector.setValue(me.repoInfo[0].handle);
- let items = [
- repoSelector,
- description,
- status,
- ];
-
Ext.apply(me, {
- items: items,
+ items: [
+ repoSelector,
+ description,
+ status,
+ ],
repoSelector: repoSelector,
});