mirror of
https://github.com/Azure/cosmos-explorer.git
synced 2025-10-13 15:28:05 +01:00
Added VS Code Exnteion for DE
This commit is contained in:
parent
d45e10f5ac
commit
98d7e89712
@ -16,7 +16,8 @@ export const COSMOSDB_VSCODE_EXTENSION_BASEURL = "vscode://ms-azuretools.vscode-
|
||||
*/
|
||||
export const getVSCodeUrl = (): string => {
|
||||
const isvCore = (userContext.apiType || userContext.databaseAccount.kind) === "VCoreMongo";
|
||||
const isMongo = userContext.apiType === "Mongo";
|
||||
const isMongo =
|
||||
userContext.apiType === "Mongo" && userContext.databaseAccount?.properties?.apiProperties?.serverVersion !== "3.2";
|
||||
return isvCore ? getDocumentDbUrl() : isMongo ? getMongoRUUrl() : getCosmosDbUrl();
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user