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> {
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
items.push({
|
if (userContext.apiType === "SQL") {
|
||||||
iconSrc: OpenQueryIcon,
|
items.push({
|
||||||
title: "Open Query",
|
iconSrc: OpenQueryIcon,
|
||||||
description: null,
|
title: "Open Query",
|
||||||
onClick: () => this.container.openBrowseQueriesPanel(),
|
description: null,
|
||||||
});
|
onClick: () => this.container.openBrowseQueriesPanel(),
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
if (userContext.apiType !== "Cassandra") {
|
if (userContext.apiType !== "Cassandra") {
|
||||||
items.push({
|
items.push({
|
||||||
|
|
Loading…
Reference in New Issue