diff --git a/client/web/compose/src/views/Admin/Pages/Edit.vue b/client/web/compose/src/views/Admin/Pages/Edit.vue index a03ce19f9..8369d9dfb 100644 --- a/client/web/compose/src/views/Admin/Pages/Edit.vue +++ b/client/web/compose/src/views/Admin/Pages/Edit.vue @@ -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()