Skip to content

Commit

Permalink
Merge branch '4.x' of https://github.com/craftcms/cms into 5.x
Browse files Browse the repository at this point in the history
  • Loading branch information
brandonkelly committed Nov 7, 2024
2 parents e46e1ea + 9137273 commit 6d10962
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

- Fixed a bug where entry/category drafts weren’t retaining new parent selections.
- Fixed a bug where the “Related To” condition rule would lose track of the selected element if it belonged to a different site. ([#16005](https://github.com/craftcms/cms/pull/16005))
- Fixed a bug where the GraphQL tokens index was saying tokens never expired. ([#16029](https://github.com/craftcms/cms/issues/16029))
- Fixed a styling bug.
- Fixed a bug `craft\services\Categories::saveGroup()` and `craft\services\Tags::saveTagGroup()` weren’t respecting predefined UUID values on new models.
- Fixed an error that could occur when editing a nested Matrix entry in a slideout or full-page editor, if it was initially edited while the Matrix field was in inline-editable blocks mode.
Expand Down
2 changes: 1 addition & 1 deletion src/templates/graphql/tokens/_index.twig
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
url: url('graphql/tokens/' ~ token.id),
status: token.enabled ? true : false,
lastUsed: { value: token.lastUsed , date: token.lastUsed ? token.lastUsed|timestamp : null },
expiryDate: token.expiryDate ? token.expiryDate|timestamp : 'Never'|t()
expiryDate: { value: token.expiryDate, date: token.expiryDate ? token.expiryDate|timestamp : null }
}]) %}
{% endfor %}

Expand Down

0 comments on commit 6d10962

Please sign in to comment.