mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-08-15 02:09:29 +00:00
Fix Extent ZFSPool Content with rootdir
This commit is contained in:
parent
0097a5f857
commit
42bdda9576
@ -49,7 +49,6 @@ Ext.define('PVE.storage.ZFSPoolInputPanel', {
|
|||||||
|
|
||||||
if (me.create) {
|
if (me.create) {
|
||||||
values.type = 'zfspool';
|
values.type = 'zfspool';
|
||||||
values.content = 'images';
|
|
||||||
} else {
|
} else {
|
||||||
delete values.storage;
|
delete values.storage;
|
||||||
}
|
}
|
||||||
@ -155,7 +154,7 @@ Ext.define('PVE.storage.ZFSPoolEdit', {
|
|||||||
});
|
});
|
||||||
|
|
||||||
Ext.apply(me, {
|
Ext.apply(me, {
|
||||||
subject: 'ZFS Storage',
|
subject: PVE.Utils.format_storage_type('ZFS Storage'),
|
||||||
isAdd: true,
|
isAdd: true,
|
||||||
items: [ ipanel ]
|
items: [ ipanel ]
|
||||||
});
|
});
|
||||||
@ -166,7 +165,11 @@ Ext.define('PVE.storage.ZFSPoolEdit', {
|
|||||||
me.load({
|
me.load({
|
||||||
success: function(response, options) {
|
success: function(response, options) {
|
||||||
var values = response.result.data;
|
var values = response.result.data;
|
||||||
if (values.nodes) {
|
var ctypes = values.content || '';
|
||||||
|
|
||||||
|
values.content = ctypes.split(',');
|
||||||
|
|
||||||
|
if (values.nodes) {
|
||||||
values.nodes = values.nodes.split(',');
|
values.nodes = values.nodes.split(',');
|
||||||
}
|
}
|
||||||
values.enable = values.disable ? 0 : 1;
|
values.enable = values.disable ? 0 : 1;
|
||||||
|
Loading…
Reference in New Issue
Block a user