mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-08-04 15:51:22 +00:00
combine if paths
we had the same actions for different if paths, now they are combined Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
parent
065db62f9c
commit
eb751f7ab5
@ -71,15 +71,13 @@ Ext.define('PVE.window.HDMove', {
|
||||
listeners: {
|
||||
change: function(f, value) {
|
||||
var rec = f.store.getById(value);
|
||||
if (rec.data.type === 'iscsi') {
|
||||
me.formatsel.setValue('raw');
|
||||
me.formatsel.setDisabled(true);
|
||||
} else if (rec.data.type === 'lvm' ||
|
||||
rec.data.type === 'lvmthin' ||
|
||||
rec.data.type === 'rbd' ||
|
||||
rec.data.type === 'sheepdog' ||
|
||||
rec.data.type === 'zfs' ||
|
||||
rec.data.type === 'zfspool'
|
||||
if (rec.data.type === 'iscsi' ||
|
||||
rec.data.type === 'lvm' ||
|
||||
rec.data.type === 'lvmthin' ||
|
||||
rec.data.type === 'rbd' ||
|
||||
rec.data.type === 'sheepdog' ||
|
||||
rec.data.type === 'zfs' ||
|
||||
rec.data.type === 'zfspool'
|
||||
) {
|
||||
me.formatsel.setValue('raw');
|
||||
me.formatsel.setDisabled(true);
|
||||
|
Loading…
Reference in New Issue
Block a user