Skip to content

Commit

Permalink
revert change to global application state impl
Browse files Browse the repository at this point in the history
  • Loading branch information
jay-hodgson committed Oct 15, 2024
1 parent a524ea1 commit c4cdd47
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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);
}
Expand Down

0 comments on commit c4cdd47

Please sign in to comment.