ui: group filter: make also local filter NS aware
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
9dde8cd625
commit
54d315c951
@ -210,13 +210,13 @@ Ext.define('PBS.form.GroupFilter', {
|
||||
let url;
|
||||
if (me.remote) {
|
||||
url = `/api2/json/config/remote/${me.remote}/scan/${me.datastore}/groups`;
|
||||
if (me.namespace) {
|
||||
url += `?namespace=${me.namespace}`;
|
||||
}
|
||||
} else if (me.datastore) {
|
||||
url = `/api2/json/admin/datastore/${me.datastore}/groups`;
|
||||
} else {
|
||||
return;
|
||||
return;
|
||||
}
|
||||
if (me.namespace) {
|
||||
url += `?namespace=${me.namespace}`;
|
||||
}
|
||||
me.setDsStoreUrl(url);
|
||||
me.dsStore.load({
|
||||
|
Loading…
Reference in New Issue
Block a user