api2/admin/datastore: accept "/" as path for root

makes more sense than sending "root'"

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Signed-off-by: Stefan Reiter <s.reiter@proxmox.com>
This commit is contained in:
Dominik Csapak
2021-02-16 18:06:53 +01:00
committed by Thomas Lamprecht
parent 227501c063
commit 5279ee745f
2 changed files with 2 additions and 1 deletions

View File

@ -185,6 +185,7 @@ Ext.define("PBS.window.FileBrowser", {
store: {
autoLoad: false,
model: 'pbs-file-tree',
defaultRootId: '/',
nodeParam: 'filepath',
sorters: 'text',
proxy: {