diff --git a/client/web/compose/src/views/Admin/Pages/List.vue b/client/web/compose/src/views/Admin/Pages/List.vue
index 96fd33d191..af8feab04f 100644
--- a/client/web/compose/src/views/Admin/Pages/List.vue
+++ b/client/web/compose/src/views/Admin/Pages/List.vue
@@ -74,7 +74,20 @@
+
+
+
+
+ {{ $t('loading') }}
+
+
{
this.tree = tree.map(p => new compose.Page(p))
}).catch(this.toastErrorHandler(this.$t('notification:page.loadFailed')))
+ .finally(() => {
+ this.processing = false
+ })
},
handleAddPageFormSubmit () {
+ this.processing = true
const { namespaceID } = this.namespace
this.page.weight = this.tree.length
this.createPage({ ...this.page, namespaceID }).then(({ pageID }) => {
this.$router.push({ name: 'admin.pages.edit', params: { pageID } })
}).catch(this.toastErrorHandler(this.$t('notification:page.saveFailed')))
+ .finally(() => {
+ this.processing = false
+ })
},
handleReorder () {
diff --git a/locale/en/corteza-webapp-compose/page.yaml b/locale/en/corteza-webapp-compose/page.yaml
index 09dcf1dd0e..e2b3d9effb 100644
--- a/locale/en/corteza-webapp-compose/page.yaml
+++ b/locale/en/corteza-webapp-compose/page.yaml
@@ -31,6 +31,7 @@ label:
pageBuilder: Page builder
permissions: Permissions
saveAndClose: Save and close
+loading: Loading
moduleEdit: Edit module
navigation:
page: Pages