mirror of
https://github.com/Azure/cosmos-explorer.git
synced 2024-11-29 00:47:01 +00:00
Do not show network connection message when securedbyperimeter (#1517)
This commit is contained in:
parent
ea4563f840
commit
b98829109e
@ -18,7 +18,10 @@ export const getNetworkSettingsWarningMessage = (): string => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// public network access is disabled
|
// public network access is disabled
|
||||||
if (accountProperties.publicNetworkAccess !== "Enabled") {
|
if (
|
||||||
|
accountProperties.publicNetworkAccess !== "Enabled" &&
|
||||||
|
accountProperties.publicNetworkAccess !== "SecuredByPerimeter"
|
||||||
|
) {
|
||||||
return "The Network settings for this account are preventing access from Data Explorer. Please enable public access to proceed.";
|
return "The Network settings for this account are preventing access from Data Explorer. Please enable public access to proceed.";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user