Ghost/ghost/admin/tests
Kevin Ansfield 4c5144cb61 🐛 Fixed close button on "unsaved changes" modal not always behaving like "Stay" button
no issue

The close button in the unsaved changes modal used the `@close` action directly compared to the "Stay" button which used `(fn @close false)`. The close button version without explicit arguments resulted in the first argument being a `PointerEvent` instance which if checked as a modal return value as `if (shouldClose)` would evaluate as truthy therefore matching the "Leave" behaviour instead of the "Stay" behaviour.

- changed modal to explicitly call `(fn @close false)` when the close button is clicked
- updated design settings route to have an explicit `shouldLeave === true` check so default behaviour is always "Stay"
2022-04-14 12:39:10 +01:00
..
acceptance 🐛 Fixed close button on "unsaved changes" modal not always behaving like "Stay" button 2022-04-14 12:39:10 +01:00
helpers Added non-Stripe members setting screen acceptance tests 2022-02-18 22:36:01 +00:00
integration Fixed linting issues in dashboard 5 component 2022-03-22 09:58:42 +01:00
unit Switched members table to show info from most-recently-updated subscription instead of first in array 2022-03-04 16:32:41 +00:00
.eslintrc.js Update dependency eslint to v7 (#1566) 2020-05-17 22:53:37 +01:00
index.html Remove ember application template wrapper 2018-05-01 10:57:20 +01:00
test-helper.js Updated core files to match ember-cli new output 2020-08-03 09:24:58 +01:00