diff --git a/CHANGELOG.unreleased.md b/CHANGELOG.unreleased.md index 348e78810..db13107ab 100644 --- a/CHANGELOG.unreleased.md +++ b/CHANGELOG.unreleased.md @@ -19,6 +19,7 @@ - [Home] Broken "Import VM" link [#5055](https://github.com/vatesfr/xen-orchestra/issues/5055) (PR [#5056](https://github.com/vatesfr/xen-orchestra/pull/5056)) - [Home/SR] Fix inability to edit SRs' name [#5057](https://github.com/vatesfr/xen-orchestra/issues/5057) (PR [#5058](https://github.com/vatesfr/xen-orchestra/pull/5058)) - [Backup] Fix huge logs in case of Continuous Replication or Disaster Recovery errors (PR [#5069](https://github.com/vatesfr/xen-orchestra/pull/5069)) +- [Notification] Fix same notification showing again as unread (PR [#5067](https://github.com/vatesfr/xen-orchestra/pull/5067)) ### Packages to release @@ -39,3 +40,4 @@ - xo-server-load-balancer patch - xo-server patch +- xo-web minor diff --git a/packages/xo-web/src/common/xo/index.js b/packages/xo-web/src/common/xo/index.js index 53a8e5920..721898348 100644 --- a/packages/xo-web/src/common/xo/index.js +++ b/packages/xo-web/src/common/xo/index.js @@ -372,7 +372,8 @@ const setNotificationCookie = (id, changes) => { }) cookies.set( `notifications:${store.getState().user.id}`, - JSON.stringify(notifications) + JSON.stringify(notifications), + { expires: Infinity } ) }