Show "Open Query" for SQL only (#830)

This commit is contained in:
Steve Faulkner
2021-05-26 15:12:36 -05:00
committed by GitHub
parent 50f83cde87
commit 75d01f655f

View File

@@ -250,12 +250,14 @@ export class SplashScreen extends React.Component<SplashScreenProps> {
});
}
items.push({
iconSrc: OpenQueryIcon,
title: "Open Query",
description: null,
onClick: () => this.container.openBrowseQueriesPanel(),
});
if (userContext.apiType === "SQL") {
items.push({
iconSrc: OpenQueryIcon,
title: "Open Query",
description: null,
onClick: () => this.container.openBrowseQueriesPanel(),
});
}
if (userContext.apiType !== "Cassandra") {
items.push({