Improve user scripts charts

Fixes #3020
This commit is contained in:
emanuele-f 2019-10-31 13:29:53 +01:00
parent 8db49f7268
commit e978a83151
18 changed files with 137 additions and 110 deletions

View file

@ -267,10 +267,13 @@ end
-- ########################################################
local function getEntryStep(schema_name)
if(starts(schema_name, "custom:") and (getCustomSchemaStep ~= nil)) then
return(getCustomSchemaStep(schema_name))
end
if(starts(schema_name, "top:")) then
schema_name = split(schema_name, "top:")[2]
end
-- TODO handle custom schemas?
local schema_obj = ts_utils.getSchema(schema_name)