Ghost/ghost/admin/app/routes
Kevin Ansfield 3817f583fa 🐛 Fixed unexpected "unsaved changes" modal when deleting a member
closes https://github.com/TryGhost/Team/issues/2275

When deleting a member, after confirming deletion another "unsaved changes" modal popped up. From that point, if you clicked to stay you remained on the member screen with stale data (the member was still deleted) resulting in further errors when any attempt to make changes was made.

- prevented the unsaved changes check running for a deleted member because it would always return `true` in that case
- ensured the data setup for the unsaved changes check still occurs when a member is accessed directly via the URL
  - previously it was skipped because the data setup only occurred inside `fetchMemberTask` but that isn't called when the route already loaded the model via it's `model()` hook
2022-12-05 11:48:37 +00:00
..
editor Fixed hosting management screen not loading after sign-in process (#15763) 2022-11-03 11:14:36 +00:00
explore Added Ghost Explore app 2022-10-26 10:05:50 +01:00
lexical-editor Added redirect between mobiledoc/lexical editors 2022-09-13 18:55:39 +01:00
member Updated members routes/controllers with Octane idioms 2020-05-20 16:39:31 +01:00
members Refactored away CurrentUserSettings mixin (#2200) 2022-01-17 10:05:27 +00:00
offer 🐛 Fixed offer links with an archived tier (#15792) 2022-11-11 10:11:34 +01:00
posts Fixed email debug page always showing error + breadcrumb 2022-12-02 14:45:06 +01:00
settings Fixed lint issues 2022-11-17 14:40:24 +00:00
setup 🎨 Redesigned user authentication pages (#2286) 2022-03-08 17:30:46 +00:00
tag Migrated route objects to native class syntax 2022-01-17 10:06:57 +00:00
admin.js Refactored away CurrentUserSettings mixin (#2200) 2022-01-17 10:05:27 +00:00
application.js Added TransitionAborted errors to Sentry's ignore list 2022-11-23 13:23:47 +00:00
authenticated.js 🐛 Fixed redirect to signin modal not shown when logged out (#15522) 2022-10-21 21:03:12 +01:00
dashboard.js Moving over the new Dashboard to replace the old (#2389) 2022-05-17 09:34:34 +02:00
designsandbox.js Fixed hosting management screen not loading after sign-in process (#15763) 2022-11-03 11:14:36 +00:00
editor.js Switched editor re-authenticate modal to new modal pattern 2022-11-14 09:55:34 +00:00
error404.js Fixed lint 2022-05-16 19:52:52 +05:30
explore.js Improved URL syncing between Admin and Explore (#15640) 2022-10-21 11:48:18 +01:00
home.js Cleaned up improvedOnboarding labs flag 2022-05-18 10:13:06 +01:00
lexical-editor.js Copied "from analytics" changes over to lexical editor 2022-11-11 09:49:26 +00:00
member.js 🐛 Fixed unexpected "unsaved changes" modal when deleting a member 2022-12-05 11:48:37 +00:00
members-activity.js Updated activity feed to use full width 2022-08-23 14:36:48 +02:00
members.js Added breadcrumbs to members pages when coming from analytics 2022-10-25 16:21:10 +02:00
offer.js Fixed member ProxyObject from sparse array leaking out of members list (#15565) 2022-10-07 17:03:45 +01:00
offers.js Refactored away CurrentUserSettings mixin (#2200) 2022-01-17 10:05:27 +00:00
pages.js Better matching up the pages table with the posts table 2022-09-28 14:17:12 +01:00
posts.js Refactored posts and pages controllers to Octane patterns 2022-10-07 18:39:34 +01:00
pro.js Updated <GHBillingIframe> to not leak event listeners 2022-11-07 11:59:14 +00:00
reset.js Migrated route objects to native class syntax 2022-01-17 10:06:57 +00:00
settings.js Migrated route objects to native class syntax 2022-01-17 10:06:57 +00:00
setup.js Fixed hosting management screen not loading after sign-in process (#15763) 2022-11-03 11:14:36 +00:00
signin.js Refactored signin controller to Octane patterns 2022-11-01 14:12:23 +00:00
signout.js Migrated route objects to native class syntax 2022-01-17 10:06:57 +00:00
signup.js Fixed hosting management screen not loading after sign-in process (#15763) 2022-11-03 11:14:36 +00:00
site.js Fixed hosting management screen not loading after sign-in process (#15763) 2022-11-03 11:14:36 +00:00
tag.js Switched tag unsaved changes modal to new modal pattern 2022-09-09 17:44:11 +01:00
tags.js Migrated route objects to native class syntax 2022-01-17 10:06:57 +00:00
unauthenticated.js Removed usage of deprecated EmberSimpleAuth mixins (#1910) 2021-04-12 13:21:57 +01:00
whatsnew.js Migrated route objects to native class syntax 2022-01-17 10:06:57 +00:00