Selaa lähdekoodia

use hyphenated query parameter

Daniel Marth 5 vuotta sitten
vanhempi
commit
c36587a967
1 muutettua tiedostoa jossa 2 lisäystä ja 2 poistoa
  1. 2 2
      packages/application-extension/src/index.tsx

+ 2 - 2
packages/application-extension/src/index.tsx

@@ -276,8 +276,8 @@ const tree: JupyterFrontEndPlugin<void> = {
         router.navigate(url);
 
         const query = URLExt.queryStringToObject(args.search);
-        if (query.filebrowserPath) {
-          path = query.filebrowserPath;
+        if (query['file-browser-path']) {
+          path = query['file-browser-path'];
         }
 
         try {