Fix focus to match portal (#56)

This commit is contained in:
Laurent Nguyen
2020-06-26 16:52:28 +02:00
committed by GitHub
parent e5fc6f2022
commit 1d3b672a14
5 changed files with 35 additions and 11 deletions

View File

@@ -133,7 +133,7 @@ export const FeaturePanelComponent: React.FunctionComponent = () => {
.find(f => f.key === "feature.notebookserverurl")
.reactState[1]("https://localhost:10001/12345/notebook/");
stringFeatures.find(f => f.key === "feature.notebookservertoken").reactState[1]("token");
stringFeatures.find(f => f.key === "feature.notebookbasepath").reactState[1](".");
stringFeatures.find(f => f.key === "feature.notebookbasepath").reactState[1]("./notebooks");
setPlatform(platformOptions.find(o => o.key === "Hosted"));
};