mirror of
https://github.com/Azure/cosmos-explorer.git
synced 2026-01-06 19:19:56 +00:00
don't call ARM when connectionstring login
This commit is contained in:
@@ -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,
|
|
||||||
});
|
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user