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-sync-jobs-status', { Ext.define('pbs-sync-jobs-status', {
extend: 'Ext.data.Model', extend: 'Ext.data.Model',
fields: [ fields: [
'id', 'owner', 'remote', 'remote-store', 'store', 'schedule', 'groups', 'id', 'owner', 'remote', 'remote-store', 'store', 'schedule', 'group-filter',
'next-run', 'last-run-upid', 'last-run-state', 'last-run-endtime', 'next-run', 'last-run-upid', 'last-run-state', 'last-run-endtime',
{ {
name: 'duration', name: 'duration',
@ -216,7 +216,7 @@ Ext.define('PBS.config.SyncJobView', {
}, },
{ {
header: gettext('Backup Groups'), header: gettext('Backup Groups'),
dataIndex: 'groups', dataIndex: 'group-filter',
renderer: v => v ? Ext.String.htmlEncode(v) : gettext('All'), renderer: v => v ? Ext.String.htmlEncode(v) : gettext('All'),
width: 80, width: 80,
}, },

View File

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

View File

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

View File

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