From a7885eca09135d3e59d490dcdfe58d5c8543c21b Mon Sep 17 00:00:00 2001 From: Tom Mortensen Date: Wed, 29 Oct 2025 01:35:23 -0700 Subject: [PATCH] Fix: ZFS allocation profile always shows 1 vdev only --- emhttp/plugins/dynamix/DeviceInfo.page | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/emhttp/plugins/dynamix/DeviceInfo.page b/emhttp/plugins/dynamix/DeviceInfo.page index 9cb8bc83a..35c2def45 100755 --- a/emhttp/plugins/dynamix/DeviceInfo.page +++ b/emhttp/plugins/dynamix/DeviceInfo.page @@ -344,9 +344,9 @@ function selectDiskFsWidthZFS(slots,init) { value: width, text: _(sprintf('%s '+label+' of %s devices',groups,width)), })); + if (selected_width == 0) selected_width = width; } } - if (selected_width == 0) selected_width = width; } $('#diskFsWidth').val(selected_width); }