mirror of
https://github.com/Azure/cosmos-explorer.git
synced 2025-02-19 18:56:36 +00:00
don't call ARM when connectionstring login
This commit is contained in:
parent
5433d61bd8
commit
6e1b104b72
@ -1385,7 +1385,7 @@ export default class Explorer {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public async configureCopilot(): Promise<void> {
|
public async configureCopilot(): Promise<void> {
|
||||||
if (userContext.apiType !== "SQL") {
|
if (userContext.apiType !== "SQL" || !userContext.subscriptionId) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
const copilotEnabledPromise = getCopilotEnabled();
|
const copilotEnabledPromise = getCopilotEnabled();
|
||||||
|
@ -42,7 +42,5 @@ test("Resource token", async () => {
|
|||||||
const explorer = await page.frame({
|
const explorer = await page.frame({
|
||||||
name: "explorer",
|
name: "explorer",
|
||||||
});
|
});
|
||||||
await explorer.textContent(`css=.dataResourceTree >> "${collectionId}"`, {
|
await explorer.textContent(`css=.dataResourceTree >> "${collectionId}"`);
|
||||||
timeout: 150000,
|
|
||||||
});
|
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user