Commit e2c82f7a authored by BojanSovticEngIT's avatar BojanSovticEngIT
Browse files

Possible bugfix KNOWAGE-7103

parent 2ca68a83
......@@ -214,9 +214,6 @@ export default defineComponent({
}
})
this.user = (this.$store.state as any).user
this.userRole = this.user.sessionRole !== this.$t('role.defaultRolePlaceholder') ? this.user.sessionRole : null
if (this.propMode !== 'document-execution' && !this.$route.path.includes('olap-designer') && this.$route.name !== 'document-execution') return
await this.loadUserConfig()
......@@ -230,6 +227,9 @@ export default defineComponent({
await this.loadDocument()
this.user = (this.$store.state as any).user
this.userRole = this.user.sessionRole !== this.$t('role.defaultRolePlaceholder') ? this.user.sessionRole : null
if (this.userRole) {
await this.loadPage(true)
} else {
......
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