Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
KnowageLabs
Knowage-Server
Commits
e2c82f7a
Commit
e2c82f7a
authored
May 26, 2022
by
BojanSovticEngIT
Browse files
Possible bugfix KNOWAGE-7103
parent
2ca68a83
Changes
1
Hide whitespace changes
Inline
Side-by-side
knowage-vue/src/modules/documentExecution/main/DocumentExecution.vue
View file @
e2c82f7a
...
...
@@ -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
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment