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

View File

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