Skip to content

Commit

Permalink
Merge branch 'main' into fea/loading_dialog
Browse files Browse the repository at this point in the history
  • Loading branch information
seanes authored Mar 4, 2025
2 parents 6d1193e + b11ab42 commit 6db3a08
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Changelog

## [1.18.5](https://github.com/Altinn/dialogporten-frontend/compare/v1.18.4...v1.18.5) (2025-03-04)


### Bug Fixes

* Adjust sorting function for DialogList ([#1879](https://github.com/Altinn/dialogporten-frontend/issues/1879)) ([2946971](https://github.com/Altinn/dialogporten-frontend/commit/2946971e34769ca428f0beb1a282787106e62ab0))

## [1.18.4](https://github.com/Altinn/dialogporten-frontend/compare/v1.18.3...v1.18.4) (2025-03-03)


Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "dialogporten-frontend",
"version": "1.18.4",
"version": "1.18.5",
"private": true,
"scripts": {
"hooks:enable": "git config core.hooksPath .hooks",
Expand Down
2 changes: 1 addition & 1 deletion packages/frontend/src/pages/Inbox/Inbox.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ export const Inbox = ({ viewType }: InboxProps) => {
</section>
<Section spacing={3} margin="section">
{dataSourceSuccess && !filteredItems.length && <h1>{t(`inbox.heading.title.${viewType}`, { count: 0 })}</h1>}
<DialogList items={mappedGroupedDialogs} groups={groups} sortGroupBy={([a], [b]) => b.localeCompare(a)} />
<DialogList items={mappedGroupedDialogs} groups={groups} sortGroupBy={(a, b) => b[0].localeCompare(a[0])} />
</Section>
</>
);
Expand Down

0 comments on commit 6db3a08

Please sign in to comment.