ui: fix group-filter property name

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht
2021-11-22 09:02:04 +01:00
parent e201104d0b
commit bf8b8be976
4 changed files with 6 additions and 6 deletions

View File

@ -1,7 +1,7 @@
Ext.define('pbs-tape-backup-job-status', {
extend: 'Ext.data.Model',
fields: [
'id', 'store', 'pool', 'drive', 'store', 'schedule', 'comment', 'groups',
'id', 'store', 'pool', 'drive', 'store', 'schedule', 'comment', 'group-filter',
{ name: 'eject-media', type: 'boolean' },
{ name: 'export-media-set', type: 'boolean' },
{ name: 'latest-only', type: 'boolean' },
@ -223,7 +223,7 @@ Ext.define('PBS.config.TapeBackupJobView', {
},
{
header: gettext('Backup Groups'),
dataIndex: 'groups',
dataIndex: 'group-filter',
renderer: v => v ? Ext.String.htmlEncode(v) : gettext('All'),
width: 80,
},

View File

@ -126,7 +126,7 @@ Ext.define('PBS.TapeManagement.BackupJobEdit', {
{
fieldLabel: gettext('Backup Groups'),
xtype: 'displayfield',
name: 'groups',
name: 'group-filter',
renderer: v => v ? Ext.String.htmlEncode(v) : gettext('All'),
cbind: {
hidden: '{isCreate}',