mirror of
https://github.com/Azure/cosmos-explorer.git
synced 2025-12-20 09:20:16 +00:00
Remove settings component container dependency (#886)
This commit is contained in:
9
src/Utils/CloudUtils.ts
Normal file
9
src/Utils/CloudUtils.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
import { userContext } from "../UserContext";
|
||||
|
||||
export function isRunningOnNationalCloud(): boolean {
|
||||
return (
|
||||
userContext.portalEnv === "blackforest" ||
|
||||
userContext.portalEnv === "fairfax" ||
|
||||
userContext.portalEnv === "mooncake"
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user