Skip to content

Commit

Permalink
Fixed issue with navigation
Browse files Browse the repository at this point in the history
  • Loading branch information
rmathis committed Oct 28, 2021
1 parent ea172eb commit ee4f981
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions ui/src/app/metadata/editor/MetadataEditor.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,10 +71,9 @@ export function MetadataEditor ({ restore, current }) {
const resetBlock = blocking;
setBlocking(false);
setTimeout(() => {
history.push(path);
history.push(restore ? `../${path}/edit` : path);
setBlocking(resetBlock);
});
// setBlocking(resetBlock);
};

const [blocking, setBlocking] = React.useState(false);
Expand Down

0 comments on commit ee4f981

Please sign in to comment.