1
0
Fork 0
mirror of https://github.com/TryGhost/Ghost-Admin.git synced 2023-12-14 02:33:04 +01:00
Ghost-Admin/app/helpers
Kevin Ansfield 5f3d48f626 Fixed query params not resetting when deleting a custom view
no issue

- added a `transitionTo` after deleting a custom view that transitions to the `posts` route with default query params
- refactored `reset-posts-query` helper to a more generic `reset-query-params` helper
  - moved default query params definitions to this helper and expose them so we have a single source of truth
  - exposed `resetQueryParams()` function from the helper for use outside of templates
  - adjust the function and helper behaviour to accept the route name as the first param so that `router.currentRouteName` can be used as a generic reset
2020-02-03 16:38:14 +00:00
..
author-names.js 🐛 Fixed author names not appearing in Facebook open-graph preview 2019-03-12 12:15:02 +00:00
background-image-style.js Add {{background-image-style}} helper 2018-05-14 13:04:53 +01:00
event-name.js Added "Member updated" event to the webhook dropdown 2019-10-31 14:36:00 +00:00
gh-count-characters.js Switched from ember-cli-shims to new module imports (#779) 2017-08-22 14:53:26 +07:00
gh-count-down-characters.js Switched from ember-cli-shims to new module imports (#779) 2017-08-22 14:53:26 +07:00
gh-format-post-time.js Bumped dependencies (#1108) 2019-03-05 17:34:00 +00:00
gh-user-can-admin.js Fixed {{gh-user-can-admin}} error due to not using .get on proxy object 2019-01-22 16:25:14 +00:00
gravatar.js 🎨 Added gravatars for member avatars (#1417) 2019-12-03 18:10:47 +07:00
highlighted-text.js 🐛 Fixed admin search not handling certain characters (#877) 2017-09-28 11:25:13 +01:00
integration-icon-style.js 🎨 Updated admin area design and usability (#1232) 2019-06-18 11:47:20 +01:00
reset-query-params.js Fixed query params not resetting when deleting a custom view 2020-02-03 16:38:14 +00:00
ui-btn-span.js Moved Spirit CSS library from external to internal 2019-02-24 11:19:22 +07:00
ui-btn.js Moved Spirit CSS library from external to internal 2019-02-24 11:19:22 +07:00
ui-text.js Moved Spirit CSS library from external to internal 2019-02-24 11:19:22 +07:00