mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-08-14 01:40:34 +00:00
fix LVM Content settings
when adding LVM Storage, do not overwrite user input for content and if Storage and Container is selected show the proper names Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
parent
ee6e61009d
commit
89722698a9
@ -97,7 +97,6 @@ Ext.define('PVE.storage.LVMInputPanel', {
|
||||
|
||||
if (me.create) {
|
||||
values.type = 'lvm';
|
||||
values.content = 'images';
|
||||
} else {
|
||||
delete values.storage;
|
||||
}
|
||||
@ -257,6 +256,10 @@ Ext.define('PVE.storage.LVMEdit', {
|
||||
me.load({
|
||||
success: function(response, options) {
|
||||
var values = response.result.data;
|
||||
var ctypes = values.content || '';
|
||||
|
||||
values.content = ctypes.split(',');
|
||||
|
||||
if (values.nodes) {
|
||||
values.nodes = values.nodes.split(',');
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user