ui: fix setting protection in namespace

The ns parameter would not be included previously.

Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
This commit is contained in:
Fabian Ebner 2022-05-16 15:25:02 +02:00 committed by Thomas Lamprecht
parent 44df558d66
commit 7ebd97e8ea
1 changed files with 1 additions and 16 deletions

View File

@ -685,25 +685,10 @@ Ext.define('PBS.DataStoreContent', {
isCreate: false, isCreate: false,
autoLoad: true, autoLoad: true,
loadUrl: `${url}?${Ext.Object.toQueryString(params)}`,
url, url,
extraRequestParams: params,
items: [ items: [
{
xtype: 'hidden',
name: 'backup-type',
value: type,
},
{
xtype: 'hidden',
name: 'backup-id',
value: id,
},
{
xtype: 'hidden',
name: 'backup-time',
value: time,
},
{ {
xtype: 'proxmoxcheckbox', xtype: 'proxmoxcheckbox',
fieldLabel: gettext('Protected'), fieldLabel: gettext('Protected'),