Refactors user_scripts into checks (lua)

This commit is contained in:
Simone Mainardi 2021-06-16 18:02:22 +02:00
parent 3c3aa5a25f
commit 76fd315d1b
222 changed files with 980 additions and 981 deletions

View file

@ -90,12 +90,12 @@ if tags.ifid then
interface.select(tags.ifid)
end
if((ts_schema == "top:flow_user_script:duration")
or (ts_schema == "top:elem_user_script:duration")
or (ts_schema == "custom:flow_user_script:total_stats")
or (ts_schema == "custom:elem_user_script:total_stats")) then
if((ts_schema == "top:flow_check:duration")
or (ts_schema == "top:elem_check:duration")
or (ts_schema == "custom:flow_check:total_stats")
or (ts_schema == "custom:elem_check:total_stats")) then
-- NOTE: Temporary fix for top user scripts page
tags.user_script = nil
tags.check = nil
end
sendHTTPHeader('application/json')