new validation to create href

GON-3874-DD-moodle
elena 2022-11-15 11:47:04 +00:00
parent 0b03efc73e
commit 97b4916983
1 changed files with 1 additions and 1 deletions

View File

@ -78,7 +78,7 @@ class Menu:
apps_internal = [] apps_internal = []
for app in system["apps_internal"]: for app in system["apps_internal"]:
if app["href"].startswith('/'): if app["href"].startswith('/') and 'subdomain' in app:
app["href"] = ( app["href"] = (
"https://" "https://"
+ app["subdomain"] + app["subdomain"]