mirror of
https://github.com/jokob-sk/NetAlertX.git
synced 2025-12-07 09:36:05 -08:00
Loading plugins v 0.2 🔌
This commit is contained in:
@@ -282,6 +282,7 @@ while ($row = $result -> fetchArray (SQLITE3_ASSOC)) {
|
||||
|
||||
if(getSetting(group+"_RUN") != "")
|
||||
{
|
||||
// 🔺 update also in initialise.py if you update below list/array
|
||||
let isEnabled = ["once", "schedule", "always_after_scan", "on_new_device", "on_notification", "before_config_save", "before_name_updates" ].includes(getSetting(group+"_RUN"));
|
||||
|
||||
isEnabled ? onOff = 'dot-circle' : onOff = 'circle';
|
||||
|
||||
Reference in New Issue
Block a user