mirror of
https://gitlab.kit.edu/uskyk/typicalc.git
synced 2024-11-08 18:30: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) {
|
private void setTermInURL(Pair<String, Map<String, String>> lambdaTermAndAssumptions) {
|
||||||
String lambdaTerm = lambdaTermAndAssumptions.getLeft();
|
String lambdaTerm = lambdaTermAndAssumptions.getLeft();
|
||||||
if ("".equals(lambdaTerm)) {
|
if ("".equals(lambdaTerm)) {
|
||||||
UI.getCurrent().getPage().getHistory().pushState(null, new Location(""));
|
UI.getCurrent().getPage().getHistory().pushState(null, "./");
|
||||||
setContent(new StartPageView());
|
setContent(new StartPageView());
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user