fix separator

This commit is contained in:
Meliox 2025-09-06 14:06:14 +02:00
parent db59a5a8c3
commit 1b2143ad56

View File

@ -969,14 +969,14 @@ Ext.define('PVE.mod.TempHelper', {\n\
# Add an empty line to separate modified items as a visual group # Add an empty line to separate modified items as a visual group
# NOTE: Check for the presence of items in the reverse order of display # NOTE: Check for the presence of items in the reverse order of display
local lastItemId="" local lastItemId=""
if [ $ENABLE_HDD_TEMP = true ]; then if [ $ENABLE_UPS = true ]; then
lastItemId="upsc"
elif [ $ENABLE_HDD_TEMP = true ]; then
lastItemId="thermalHdd" lastItemId="thermalHdd"
elif [ $ENABLE_NVME_TEMP = true ]; then elif [ $ENABLE_NVME_TEMP = true ]; then
lastItemId="thermalNvme" lastItemId="thermalNvme"
elif [ $ENABLE_FAN_SPEED = true ]; then elif [ $ENABLE_FAN_SPEED = true ]; then
lastItemId="speedFan" lastItemId="speedFan"
elif [ $ENABLE_UPS = true ]; then
lastItemId="upsc"
else else
lastItemId="thermalCpu" lastItemId="thermalCpu"
fi fi