Skip to content

Commit

Permalink
Fixed cache issue on redirect
Browse files Browse the repository at this point in the history
  • Loading branch information
rmathis committed Feb 6, 2023
1 parent e9e7a24 commit 5add449
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/src/app/metadata/editor/MetadataEditor.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ export function MetadataEditor ({ restore, current, reload }) {

const gotoDetail = (state = null) => {
setBlocking(false);
setTimeout(() => navigate(`/metadata/${type}/${id}`), 0);
setTimeout(() => navigate(`/metadata/${type}/${id}`, { state }), 0);
};

const onNavigate = (path) => {
Expand Down

0 comments on commit 5add449

Please sign in to comment.