ui: datastore edit: fix emptytext for path field

It is a relative path for removable datastores.

Signed-off-by: Fiona Ebner <f.ebner@proxmox.com>
This commit is contained in:
Fiona Ebner 2024-11-26 17:29:16 +01:00 committed by Thomas Lamprecht
parent 0ca7833bc5
commit 87f2087789

View File

@ -114,8 +114,10 @@ Ext.define('PBS.DataStoreEdit', {
uuidEditField.setValue('');
if (isRemovable) {
pathField.setFieldLabel(gettext('Path on Device'));
pathField.setEmptyText(gettext('A relative path'));
} else {
pathField.setFieldLabel(gettext('Backing Path'));
pathField.setEmptyText(gettext('An absolute path'));
}
},
},