Show "Open Query" for SQL only (#830)
This commit is contained in:
parent
50f83cde87
commit
75d01f655f
|
@ -250,12 +250,14 @@ export class SplashScreen extends React.Component<SplashScreenProps> {
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (userContext.apiType === "SQL") {
|
||||||
items.push({
|
items.push({
|
||||||
iconSrc: OpenQueryIcon,
|
iconSrc: OpenQueryIcon,
|
||||||
title: "Open Query",
|
title: "Open Query",
|
||||||
description: null,
|
description: null,
|
||||||
onClick: () => this.container.openBrowseQueriesPanel(),
|
onClick: () => this.container.openBrowseQueriesPanel(),
|
||||||
});
|
});
|
||||||
|
}
|
||||||
|
|
||||||
if (userContext.apiType !== "Cassandra") {
|
if (userContext.apiType !== "Cassandra") {
|
||||||
items.push({
|
items.push({
|
||||||
|
|
Loading…
Reference in New Issue