Ghost/ghost/admin/app/components/members
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
..
filters Updated the filter naming in Post Analytics (#15898) 2022-11-30 17:39:37 +04:00
modals 🐛 Fixed unexpected "unsaved changes" modal when deleting a member 2022-12-05 11:48:37 +00:00
filter-value.hbs Fixed post title in the filter dropdown on the Members page (#15884) 2022-11-28 16:47:50 +04:00
filter-value.js Added new members filters and refactored filters (#15667) 2022-10-21 17:18:00 +02:00
filter.hbs Added new members filters and refactored filters (#15667) 2022-10-21 17:18:00 +02:00
filter.js Updated the filter naming in Post Analytics (#15898) 2022-11-30 17:39:37 +04:00
list-item-column.hbs Cleaned up member filters (#15784) 2022-11-10 11:05:12 +01:00
list-item-column.js Cleaned up member filters (#15784) 2022-11-10 11:05:12 +01:00
list-item-loading.hbs Moved members list item components 2022-10-07 17:09:18 +01:00
list-item.hbs Cleaned up member filters (#15784) 2022-11-10 11:05:12 +01:00
list-item.js Moved members list item components 2022-10-07 17:09:18 +01:00