Skip to content

Commit

Permalink
Fixed navigation in filter editing
Browse files Browse the repository at this point in the history
  • Loading branch information
rmathis committed Feb 3, 2023
1 parent b9e4943 commit 5455134
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ui/src/app/metadata/new/NewFilter.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ export function NewFilter() {
const resetBlock = blocking;
setBlocking(false);
setTimeout(() => {
navigate(path);
navigate(`../new/${path}`);
setBlocking(resetBlock);
}, 0);
};
Expand Down
2 changes: 1 addition & 1 deletion ui/src/app/metadata/view/EditFilter.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export function EditFilter() {
const resetBlock = blocking;
setBlocking(false);
setTimeout(() => {
navigate(path);
navigate(`../${id}/edit/${path}`);
setBlocking(resetBlock);
});
};
Expand Down

0 comments on commit 5455134

Please sign in to comment.