mirror of
https://gitlab.kit.edu/uskyk/typicalc.git
synced 2024-11-09 10:50:42 +00:00
fix that link changes when entering empty term
This commit is contained in:
parent
d4a6acbc07
commit
5285aa067e
@ -95,7 +95,7 @@ public class MainViewImpl extends AppLayout
|
||||
private void setTermInURL(Pair<String, Map<String, String>> lambdaTermAndAssumptions) {
|
||||
String lambdaTerm = lambdaTermAndAssumptions.getLeft();
|
||||
if ("".equals(lambdaTerm)) {
|
||||
UI.getCurrent().getPage().getHistory().pushState(null, new Location(""));
|
||||
UI.getCurrent().getPage().getHistory().pushState(null, "./");
|
||||
setContent(new StartPageView());
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user