We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b8c7ddf commit 40c9023Copy full SHA for 40c9023
1 file changed
public/main.js
@@ -179,6 +179,14 @@ async function onSocketInitOrReload(event) {
179
drillBreadcrumb.packages = cache.filter((pkg) => pkg.spec !== window.activePackage);
180
searchview.cachedSpecs = cache;
181
searchview.reset();
182
+
183
+ if (data.status === "RELOAD" && cache.length === 0) {
184
+ window.navigation.hideMenu("network--view");
185
+ window.navigation.hideMenu("home--view");
186
+ window.navigation.hideMenu("warnings--view");
187
+ window.navigation.setNavByName("search--view");
188
+ }
189
190
dispatchSearchCommandInit();
191
}
192
0 commit comments