Skip to content

Commit e6a06b7

Browse files
authored
Merge pull request #290 from os2display/feature/5120-temporary-screen-save-fix
Added temporary fix to screen save
2 parents 35a9a3c + f9522e8 commit e6a06b7

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ All notable changes to this project will be documented in this file.
44

55
## [Unreleased]
66

7+
- [#290](https://github.com/os2display/display-admin-client/pull/290)
8+
- Added temporary fix that reloads the page after a screen has been saved, to ensure fresh data is fetched.
9+
710
## [2.5.1] - 2025-06-23
811

912
- [#287](https://github.com/os2display/display-admin-client/pull/287)

src/components/screen/screen-manager.jsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -285,6 +285,9 @@ function ScreenManager({
285285
} else {
286286
navigate("/screen/list");
287287
}
288+
289+
// TODO: Remove this. Temporary fix until redux caching issues are fixed.
290+
window.location.reload();
288291
}
289292
}, [isSaveSuccessPut, isSaveSuccessPost]);
290293

0 commit comments

Comments
 (0)