Ghost-Admin/tests/unit/helpers
Kevin Ansfield 87a69ecd05 Switched members table to show info from most-recently-updated subscription instead of first in array
no issue

- members having multiple subscriptions is not really expected but if it does happen then the most recently updated subscription is most likely to be the one that we're interested in showing the details of in the members table
- added `{{most-recently-updated arr}}` helper+function that will return the item in the array argument with the most recent "updated at" value
  - uses `updatedAtUTC` or `updatedAt` or `updated_at` values so it will work against any of our models or un-transformed API response objects
- updated `<GhMembersListItemColumn>` to use a `mostRecentSubscription` getter when showing subscription data rather than assuming the first object in the subscriptions array should be displayed
2022-03-04 16:32:41 +00:00
..
gh-count-characters-test.js Fix test 2021-02-08 15:08:55 +01:00
gh-count-down-characters-test.js Updated character counter color 2021-07-08 15:15:49 +02:00
gh-user-can-admin-test.js Renamed isAdmin/isOwner/isAdminOrOwner to reduce confusion 2021-07-12 14:55:56 +02:00
highlighted-text-test.js Switch to eslint-plugin-ghost extending plugin:ghost/ember 2018-01-12 12:17:56 +00:00
most-recently-updated-test.js Switched members table to show info from most-recently-updated subscription instead of first in array 2022-03-04 16:32:41 +00:00