Skip to content
This repository has been archived by the owner on Nov 28, 2022. It is now read-only.

Commit

Permalink
🐛 Fixed non-functioning "Leave" button on unsaved-changes confirmatio…
Browse files Browse the repository at this point in the history
…n modals

no issue

- bumped version of our `ember-promise-modals` fork containing a workaround for modal promises missing their return values
  - upstream issue: mainmatter/ember-promise-modals#565
- switched from a GitHub ref to a proper published package to avoid issues with yarn not bumping versions of the fork for developers who installed an earlier version
  • Loading branch information
kevinansfield committed Apr 1, 2022
1 parent bf0c3cb commit e5c4fd7
Show file tree
Hide file tree
Showing 4 changed files with 385 additions and 276 deletions.
2 changes: 1 addition & 1 deletion app/components/epm-modal-container.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
import EpmModalContainer from 'ember-promise-modals/components/modal-container';
import EpmModalContainer from '@tryghost/ember-promise-modals/components/modal-container';

export default class extends EpmModalContainer {}
2 changes: 1 addition & 1 deletion app/services/modals.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import EPMModalsService from 'ember-promise-modals/services/modals';
import EPMModalsService from '@tryghost/ember-promise-modals/services/modals';
import {bind} from '@ember/runloop';
import {inject as service} from '@ember/service';

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
"@joeattardi/emoji-button": "4.6.4",
"@sentry/ember": "6.16.1",
"@tryghost/color-utils": "0.1.12",
"@tryghost/ember-promise-modals": "2.0.1",
"@tryghost/helpers": "1.1.61",
"@tryghost/kg-clean-basic-html": "2.2.9",
"@tryghost/kg-parser-plugins": "2.11.5",
Expand Down Expand Up @@ -106,7 +107,6 @@
"ember-power-calendar-moment": "0.1.7",
"ember-power-datepicker": "cibernox/ember-power-datepicker",
"ember-power-select": "4.1.5",
"ember-promise-modals": "TryGhost/ember-promise-modals#v2.0.0+ghost.4",
"ember-resolver": "8.0.3",
"ember-route-action-helper": "2.0.8",
"ember-simple-auth": "4.2.1",
Expand Down
Loading

0 comments on commit e5c4fd7

Please sign in to comment.