From c3058ee5a9753f64fefbe87777b7d9dd371f0f55 Mon Sep 17 00:00:00 2001 From: Steve Faulkner Date: Fri, 18 Dec 2020 19:55:32 -0600 Subject: [PATCH] Check for undefined query results (#350) --- src/Explorer/Tabs/QueryTab.html | 2 +- src/RouteHandlers/TabRouteHandler.ts | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/Explorer/Tabs/QueryTab.html b/src/Explorer/Tabs/QueryTab.html index 0d16152da..e27a4bb7c 100644 --- a/src/Explorer/Tabs/QueryTab.html +++ b/src/Explorer/Tabs/QueryTab.html @@ -103,7 +103,7 @@
this._tabRouter.parse(newHash); - const defaultRoutedCallback = (request: string, data: { route: any; params: string[]; isFirst: boolean }) => { - console.log(request); - }; + const defaultRoutedCallback = (request: string, data: { route: any; params: string[]; isFirst: boolean }) => {}; this._tabRouter.routed.add(onMatch || defaultRoutedCallback); hasher.initialized.add(parseHash); hasher.changed.add(parseHash);