3
0

Fix page role spinner

This commit is contained in:
Jože Fortun
2024-10-25 15:42:33 +02:00
parent 19931042f4
commit cb2328ec74

View File

@@ -1222,9 +1222,9 @@ export default {
},
async resolveLayoutRoles () {
this.resolvingLayoutRoles = true
if (this.currentLayoutRoles.length) {
this.resolvingLayoutRoles = true
Promise.all(this.currentLayoutRoles.map(roleID => {
if (this.resolvedRoles[roleID]) {
return Promise.resolve()