Ghost/ghost/admin/app/controllers
Simon Backx 1a8f7e6972 Fixed labs not working on posts page initial load
no issue

When reloading the posts page, the labs settings wouldn't work. The 'feature' service labs property would try to JSON.parse an undefined labs setting (settings.labs === undefined) because settings wasn't loaded yet. After loading the settings, it wouldn't update because Ember's 'computed' decorator isn't able to watch this.

This was all caused by trying to access the emailAnalytics feature in the controller's constructor (this feature doesn't exist any longer). Removing this fixed the issue.

We probably need some protection for this in the future.
2022-10-26 16:03:02 +02:00
..
editor Fixed linter error for use of {{action}} in editor-loading controller 2022-07-18 10:50:03 +01:00
lexical-editor Lexical-powered editor experiment (#15278) 2022-08-23 11:45:50 +01:00
members Ran ember-cli-update --run-codemods (#2219) 2022-01-21 19:25:47 +00:00
posts Moved analytics page to separate component 2022-09-29 12:41:16 +02:00
settings Added mock component for analytics settings page 2022-10-26 15:15:09 +02:00
setup 🎨 Redesigned user authentication pages (#2286) 2022-03-08 17:30:46 +00:00
application.js Refactored application controller to Octane patterns 2022-10-07 17:59:34 +01:00
billing.js Refactored billing controller to Octane patterns 2022-10-07 17:59:49 +01:00
dashboard.js Removed attribution sources from UI if site is invite-only 2022-09-28 17:26:38 +05:30
designsandbox.js Renamed design sandbox template 2021-02-05 14:00:51 +01:00
editor.js 🐛 Fixed redirect to signin modal not shown when logged out (#15522) 2022-10-21 21:03:12 +01:00
error.js Fixed max call stack error on error controller 2022-10-07 19:46:30 +01:00
explore.js Improved URL syncing between Admin and Explore (#15640) 2022-10-21 11:48:18 +01:00
home.js Added display of get-started modal after completing setup flow 2022-02-01 18:20:26 +00:00
lexical-editor.js 🐛 Fixed redirect to signin modal not shown when logged out (#15522) 2022-10-21 21:03:12 +01:00
member.js 🐛 Fixed missing unsaved changes modal for member newsletters (#15564) 2022-10-21 21:05:14 +01:00
members-activity.js Added email sent events (#15682) 2022-10-24 11:11:44 +02:00
members.js Added breadcrumbs to members pages when coming from analytics 2022-10-25 16:21:10 +02:00
offer.js Removed need for .get() with config service 2022-10-07 16:14:57 +01:00
offers.js Wired free trial offer UI in offers list 2022-08-11 12:03:38 +05:30
pages-loading.js Refactored posts and pages controllers to Octane patterns 2022-10-07 18:39:34 +01:00
pages.js Refactored posts and pages controllers to Octane patterns 2022-10-07 18:39:34 +01:00
posts-loading.js Refactored posts and pages controllers to Octane patterns 2022-10-07 18:39:34 +01:00
posts.js Fixed labs not working on posts page initial load 2022-10-26 16:03:02 +02:00
reset.js Refactored reset controller to Octane patterns 2022-10-07 19:07:51 +01:00
settings.js Refactored reset controller to Octane patterns 2022-10-07 19:07:51 +01:00
setup.js Fixed linter error 2022-05-27 13:07:36 +01:00
signin.js Renamed passwordreset body object to password_reset 2022-04-28 15:33:09 +01:00
signup.js Migrated signup screen to Octane patterns 2022-05-27 13:28:29 +01:00
site.js [chore] migrate to eslint@8 and run --fix (#2256) 2022-02-10 10:41:36 +00:00
tag.js Switched tag unsaved changes modal to new modal pattern 2022-09-09 17:44:11 +01:00
tags.js Refactored tags screens 2022-09-09 13:27:13 +01:00
whatsnew.js Fixed "About Ghost" missing system information 2022-09-13 12:28:21 +01:00