Interactive interface for browsing global, full-resolution satellite imagery
only store events in permalink if event tab active
Benjamin Kinga8902b046cbe
diff --git a/web/js/modules/natural-events/util.js b/web/js/modules/natural-events/util.jsindex 97c6d0d6e..4e811cd36 100644--- a/web/js/modules/natural-events/util.js+++ b/web/js/modules/natural-events/util.js@@ -21,5 +21,9 @@ export function serializeEvent(currentItemState) {const eventsTabActive = currentItemState.active;return eventsTabActive && eventDate && eventId? [eventId, eventDate].join(',')- : eventId || (eventsTabActive ? 'true' : undefined);+ : eventId && eventsTabActive+ ? eventId+ : eventsTabActive+ ? 'true'+ : undefined;}