Ghost/ghost/admin/app/components/gh-nav-menu
Kevin Ansfield 85d7932e45 Resolved deprecation warnings for dynamic modal component binding (#2303)
refs https://github.com/TryGhost/Team/issues/559
refs 054a5f15f5

- with the update of `ember-promise-modals` we started to get deprecation warnings when using `modals.open('modal-component-name')`
  - upcoming Ember build updates will introduce tree shaking but using run-time lookup of modal components by name works against that because it's not statically analysable
- switched to importing components and passing the component class directly, eg. `modals.open(ModalComponent)`
- standardized modal component class names with a `MyModal` style to get better behaviour in code editors when it auto generates imports
- dropped the modal defaults from the modals service because we can now use a static `modalOptions` property on the modal components themselves when we want to override the defaults
2022-03-14 10:52:04 +00:00
..
design.hbs Refactored general design settings form components 2022-02-04 16:04:58 +00:00
design.js Added automatic open of brand settings form when no custom theme settings exist 2021-10-22 12:02:59 +01:00
footer.hbs Fixed linter error 2022-03-07 18:55:04 +01:00
footer.js [chore] migrate to eslint@8 and run --fix (#2256) 2022-02-10 10:41:36 +00:00
main.hbs 🎨 Updated Member page layout (#2271) 2022-03-01 15:57:57 +01:00
main.js Resolved deprecation warnings for dynamic modal component binding (#2303) 2022-03-14 10:52:04 +00:00