From a4f6b7dcad6016bb0081c58e896cdf276ce20ea9 Mon Sep 17 00:00:00 2001 From: ljm42 Date: Wed, 22 May 2024 15:43:58 -0700 Subject: [PATCH] Allow the Array to be optional --- emhttp/plugins/dynamix/ArrayDevices.page | 48 +--------------------- emhttp/plugins/dynamix/ArrayOperation.page | 46 +++++++++++++++++++++ emhttp/plugins/dynamix/DashStats.page | 35 +++++++++------- emhttp/plugins/dynamix/nchan/device_list | 16 +++++--- 4 files changed, 78 insertions(+), 67 deletions(-) diff --git a/emhttp/plugins/dynamix/ArrayDevices.page b/emhttp/plugins/dynamix/ArrayDevices.page index 1e80404ec..034c919fe 100644 --- a/emhttp/plugins/dynamix/ArrayDevices.page +++ b/emhttp/plugins/dynamix/ArrayDevices.page @@ -1,6 +1,7 @@ Menu="Main:1" Title="Array Devices" Tag="database" +Cond="(_var($var,'SYS_ARRAY_SLOTS') > 0 || $var['fsState']=='Stopped')" ---