diff --git a/lib/drawers/publish-page.vue b/lib/drawers/publish-page.vue index 8fb0478dd..a6c3880eb 100644 --- a/lib/drawers/publish-page.vue +++ b/lib/drawers/publish-page.vue @@ -22,7 +22,7 @@ Time Zone: {{ timezone }} {{ actionMessage }} - {{ actionMessage }} + {{ actionMessage }} Layout must be published first Layout must be published first (by an admin) Please fix errors before publishing @@ -116,7 +116,8 @@ title: '', error: 'Custom URL must match an available route!', isInvalid: false, - hasCustomLocation: false + hasCustomLocation: false, + checksNotPassed: true }; }, computed: mapState({ @@ -208,6 +209,9 @@ } }, methods: { + checkPublishStatus() { + if (!this.isPublishing || !this.isArchived || !this.hasErrors || this.isLayoutPublished || !this.isComponentSaving) this.checksNotPassed = false + }, goToHealth() { this.$emit('selectTab', 'Health'); },