Skip to content
Snippets Groups Projects
Commit d1c92081 authored by permcu's avatar permcu
Browse files

Pass systemProperties to routeValidators

Can be null on first run -> needs a guard!
parent 1efc0078
No related branches found
No related tags found
1 merge request!1739Resolve "Fix invite-code-menu not shown"
...@@ -102,7 +102,7 @@ const menusMixin = { ...@@ -102,7 +102,7 @@ const menusMixin = {
}, },
checkValidators(validators) { checkValidators(validators) {
for (const validator of validators) { for (const validator of validators) {
if (!validator(this.whoAmI)) { if (!validator(this.whoAmI, this.systemProperties)) {
return false; return false;
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment