mirror of
https://github.com/Azure/cosmos-explorer.git
synced 2025-04-23 01:53:46 +01:00
Initial commit. (#1518)
This commit is contained in:
parent
3a961870d9
commit
ea4563f840
@ -32,7 +32,7 @@ export const QuickstartTab: React.FC<QuickstartTabProps> = ({ explorer }: Quicks
|
|||||||
host: configContext.ARM_ENDPOINT,
|
host: configContext.ARM_ENDPOINT,
|
||||||
path: firewallRulesUri,
|
path: firewallRulesUri,
|
||||||
method: "GET",
|
method: "GET",
|
||||||
apiVersion: "2020-10-05-privatepreview",
|
apiVersion: "2022-11-08",
|
||||||
});
|
});
|
||||||
const firewallRules: PostgresFirewallRule[] = response?.data?.value || response?.value || [];
|
const firewallRules: PostgresFirewallRule[] = response?.data?.value || response?.value || [];
|
||||||
const isEnabled = firewallRules.some(
|
const isEnabled = firewallRules.some(
|
||||||
|
@ -134,7 +134,7 @@ export default class TerminalTab extends TabsBase {
|
|||||||
host: configContext.ARM_ENDPOINT,
|
host: configContext.ARM_ENDPOINT,
|
||||||
path: firewallRulesUri,
|
path: firewallRulesUri,
|
||||||
method: "GET",
|
method: "GET",
|
||||||
apiVersion: "2020-10-05-privatepreview",
|
apiVersion: "2022-11-08",
|
||||||
});
|
});
|
||||||
const firewallRules: DataModels.PostgresFirewallRule[] = response?.data?.value || response?.value || [];
|
const firewallRules: DataModels.PostgresFirewallRule[] = response?.data?.value || response?.value || [];
|
||||||
const isEnabled = firewallRules.some(
|
const isEnabled = firewallRules.some(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user