mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-08-15 21:53:41 +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) {
|
if (me.create) {
|
||||||
values.type = 'lvm';
|
values.type = 'lvm';
|
||||||
values.content = 'images';
|
|
||||||
} else {
|
} else {
|
||||||
delete values.storage;
|
delete values.storage;
|
||||||
}
|
}
|
||||||
@ -257,6 +256,10 @@ Ext.define('PVE.storage.LVMEdit', {
|
|||||||
me.load({
|
me.load({
|
||||||
success: function(response, options) {
|
success: function(response, options) {
|
||||||
var values = response.result.data;
|
var values = response.result.data;
|
||||||
|
var ctypes = values.content || '';
|
||||||
|
|
||||||
|
values.content = ctypes.split(',');
|
||||||
|
|
||||||
if (values.nodes) {
|
if (values.nodes) {
|
||||||
values.nodes = values.nodes.split(',');
|
values.nodes = values.nodes.split(',');
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user