Skip to content

Commit

Permalink
fix: non-existing AO blocks new AOs from being created (DHIS2-13167) (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
martinkrulltott authored and jenniferarnesen committed May 31, 2024
1 parent 545565b commit 34479f1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/actions/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ export const tDoLoadVisualization =

if (errorResponse?.details?.httpStatusCode === 404) {
error = new VisualizationNotFoundError()
history.push('/')
} else if (errorResponse?.message) {
error = errorResponse.message
} else {
Expand Down

0 comments on commit 34479f1

Please sign in to comment.