Do not show network connection message when securedbyperimeter (#1517)

This commit is contained in:
sunghyunkang1111 2023-07-05 09:47:05 -05:00 committed by GitHub
parent ea4563f840
commit b98829109e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -18,7 +18,10 @@ export const getNetworkSettingsWarningMessage = (): string => {
}
// 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.";
}