Skip to content

Commit

Permalink
Merge pull request #1521 from BlueBrain/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
Dinika authored Mar 7, 2024
2 parents e86138a + 70bca66 commit 0d630b5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/shared/containers/ResourceViewContainer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -271,11 +271,13 @@ const ResourceViewContainer: FC<{
);

const { _rev } = await updateFn();

goToResource(orgLabel, projectLabel, resourceId, { revision: _rev });
notification.success({
message: 'Resource saved',
description: getResourceLabel(resource),
});
setResource({ resource, error: null, busy: false });
} catch (error) {
const potentiallyUpdatedResource = (await nexus.Resource.get(
orgLabel,
Expand Down

0 comments on commit 0d630b5

Please sign in to comment.