mirror of
https://github.com/jokob-sk/NetAlertX.git
synced 2026-10-27 03:20:34 -04:00
Loading plugins v 0.35 🔌
This commit is contained in:
1 parent
315921873d
commit
6f4ae1d29f
5 files changed
+86
-60
No files matched your search
+2
-4
@@ -282,10 +282,8 @@ 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';
|
||||
// show all enabled plugins
|
||||
getSetting(group+"_RUN") != 'disabled' ? onOff = 'dot-circle' : onOff = 'circle';
|
||||
|
||||
enabledHtml = `
|
||||
<div class="enabled-disabled-icon">
|
||||
|
||||
Reference in new issue
Block a user