Skip to content

Commit

Permalink
[Fixes #1011] Datasets with valid bbox do not open in viewer page (#1012
Browse files Browse the repository at this point in the history
)
  • Loading branch information
DavidQuartz authored Jun 6, 2022
1 parent fffe766 commit 31f5287
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion geonode_mapstore_client/client/js/epics/gnresource.js
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,9 @@ const resourceTypes = {
resizeMap()
]
: []),
newLayer?.bboxError && warningNotification({ title: "gnviewer.invalidBbox", message: "gnviewer.invalidBboxMsg" })
...(newLayer?.bboxError
? [warningNotification({ title: "gnviewer.invalidBbox", message: "gnviewer.invalidBboxMsg" })]
: [])
);
});
}
Expand Down

0 comments on commit 31f5287

Please sign in to comment.