Commit 778b1ffe authored by BojanSovticEngIT's avatar BojanSovticEngIT
Browse files

Hotfix

parent e2c82f7a
......@@ -181,7 +181,8 @@ export default defineComponent({
this.parameterSidebarVisible = false
},
computed: {
sessionRole(): string {
sessionRole(): string | null {
if (!this.user) return null
return this.user.sessionRole !== this.$t('role.defaultRolePlaceholder') ? this.user.sessionRole : null
},
url(): string {
......
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