mirror of
https://github.com/Azure/cosmos-explorer.git
synced 2026-09-27 05:34:40 +01:00
Remove Explorer.isPreferredAPIMongo (#557)
Co-authored-by: hardiknai-techm <[email protected]>
This commit is contained in:
co-authored by
hardiknai-techm
parent
8f3cb7282b
commit
5a019eb431
@@ -237,7 +237,7 @@ export class SplashScreen extends React.Component<SplashScreenProps> {
|
||||
title: "New SQL Query",
|
||||
description: null,
|
||||
});
|
||||
} else if (this.container.isPreferredApiMongoDB()) {
|
||||
} else if (userContext.apiType === "Mongo") {
|
||||
items.push({
|
||||
iconSrc: NewQueryIcon,
|
||||
onClick: () => {
|
||||
|
||||
Reference in New Issue
Block a user