From c4cdd47363fc529f1139b26a6d0c42071328117e Mon Sep 17 00:00:00 2001 From: Jay Hodgson Date: Tue, 15 Oct 2024 11:04:51 -0700 Subject: [PATCH] revert change to global application state impl --- .../web/client/GlobalApplicationStateImpl.java | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/main/java/org/sagebionetworks/web/client/GlobalApplicationStateImpl.java b/src/main/java/org/sagebionetworks/web/client/GlobalApplicationStateImpl.java index f528e60e02..35b82f9316 100644 --- a/src/main/java/org/sagebionetworks/web/client/GlobalApplicationStateImpl.java +++ b/src/main/java/org/sagebionetworks/web/client/GlobalApplicationStateImpl.java @@ -31,7 +31,6 @@ import org.sagebionetworks.web.client.jsinterop.SRC; import org.sagebionetworks.web.client.mvp.AppActivityMapper; import org.sagebionetworks.web.client.mvp.AppPlaceHistoryMapper; -import org.sagebionetworks.web.client.place.Home; import org.sagebionetworks.web.client.place.LoginPlace; import org.sagebionetworks.web.client.utils.Callback; import org.sagebionetworks.web.client.utils.CallbackP; @@ -264,9 +263,6 @@ public void setLastPlace(Place lastPlace) { public Place getCurrentPlace() { // get the current place based on the current browser window history token String token = gwt.getCurrentHistoryToken(); - if (token == null || token.isEmpty()) { - return new Home(ClientProperties.DEFAULT_PLACE_TOKEN); - } if (appPlaceHistoryMapper != null) { return appPlaceHistoryMapper.getPlace(token); }