Commit 5d688292 authored by janis.streib's avatar janis.streib 🦉
Browse files

FIXUP: half-committed perm check

parent 09f73f25
......@@ -61,6 +61,7 @@
export default {
name: 'SideNavbar',
data() {
const self = this
return {
links: {
systems: [
......@@ -88,7 +89,7 @@ export default {
address: '/org/type',
icon: ['far', 'building'],
visible() {
return this.$store.state.xup_perm != null && 'org.rw_oet' in this.$store.state.xup_perm
return self.$store.state.xup_perm != null && 'org.rw_oet' in self.$store.state.xup_perm
}
},
{ has_sub_pages: true, label: 'Gruppen', address: '/cntl/groups', icon: 'users' }
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment