diff --git a/ghost/admin/app/components/gh-launch-wizard/finalise.js b/ghost/admin/app/components/gh-launch-wizard/finalise.js index 2115bbebb5..4c7aa2afae 100644 --- a/ghost/admin/app/components/gh-launch-wizard/finalise.js +++ b/ghost/admin/app/components/gh-launch-wizard/finalise.js @@ -50,9 +50,9 @@ export default class GhLaunchWizardFinaliseComponent extends Component { const data = this.args.getData(); if (data?.product) { yield this.saveProduct(); + this.settings.set('editorIsLaunchComplete', true); yield this.settings.save(); } - yield this.feature.set('launchComplete', true); this.router.transitionTo('dashboard'); this.notifications.showNotification( 'Launch complete!', diff --git a/ghost/admin/app/controllers/dashboard.js b/ghost/admin/app/controllers/dashboard.js index e8e2dea699..3aa2417ca6 100644 --- a/ghost/admin/app/controllers/dashboard.js +++ b/ghost/admin/app/controllers/dashboard.js @@ -235,6 +235,7 @@ export default class DashboardController extends Controller { @action dismissLaunchBanner() { - this.feature.set('launchComplete', true); + this.settings.set('editorIsLaunchComplete', true); + this.settings.save(); } } diff --git a/ghost/admin/app/models/setting.js b/ghost/admin/app/models/setting.js index 6e43cdf701..318dd64731 100644 --- a/ghost/admin/app/models/setting.js +++ b/ghost/admin/app/models/setting.js @@ -94,6 +94,7 @@ export default Model.extend(ValidationEngine, { /** * Editor settings */ + editorIsLaunchComplete: attr('boolean'), editorDefaultEmailRecipients: attr('string'), editorDefaultEmailRecipientsFilter: attr('members-segment-string'), emailVerificationRequired: attr('boolean'), diff --git a/ghost/admin/app/templates/dashboard.hbs b/ghost/admin/app/templates/dashboard.hbs index 2044260108..5055ddfbbf 100644 --- a/ghost/admin/app/templates/dashboard.hbs +++ b/ghost/admin/app/templates/dashboard.hbs @@ -7,7 +7,7 @@
- {{#if (and this.session.user.isOwnerOnly (not this.feature.launchComplete))}} + {{#if (and this.session.user.isOwnerOnly (not this.settings.editorIsLaunchComplete))}}

Select your publication style

@@ -287,7 +287,7 @@
{{/if}} - {{#unless (and this.session.user.isOwnerOnly (not this.feature.launchComplete))}} + {{#unless (and this.session.user.isOwnerOnly (not this.feature.editorIsLaunchComplete))}}

Activity feed

@@ -332,4 +332,4 @@ {{/unless}}
- \ No newline at end of file +