aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts/utils/utils.ts
diff options
context:
space:
mode:
authorBrandon Millman <brandon@0xproject.com>2018-05-19 06:38:04 +0800
committerGitHub <noreply@github.com>2018-05-19 06:38:04 +0800
commitc70540e7f4ead1f25d1436de3b4dcda06c3e1e68 (patch)
tree03c9c8b6cc1c66b462b7009edb470e340b17a46f /packages/website/ts/utils/utils.ts
parent85020c74cf8622d131b21f82a8027d437717712e (diff)
parente291146443e2dca839e9ee58f823dde3ab71093e (diff)
downloaddexon-sol-tools-c70540e7f4ead1f25d1436de3b4dcda06c3e1e68.tar
dexon-sol-tools-c70540e7f4ead1f25d1436de3b4dcda06c3e1e68.tar.gz
dexon-sol-tools-c70540e7f4ead1f25d1436de3b4dcda06c3e1e68.tar.bz2
dexon-sol-tools-c70540e7f4ead1f25d1436de3b4dcda06c3e1e68.tar.lz
dexon-sol-tools-c70540e7f4ead1f25d1436de3b4dcda06c3e1e68.tar.xz
dexon-sol-tools-c70540e7f4ead1f25d1436de3b4dcda06c3e1e68.tar.zst
dexon-sol-tools-c70540e7f4ead1f25d1436de3b4dcda06c3e1e68.zip
Merge pull request #598 from 0xProject/feature/website/mobile-optimize
Mobile optimize the portal layout
Diffstat (limited to 'packages/website/ts/utils/utils.ts')
-rw-r--r--packages/website/ts/utils/utils.ts3
1 files changed, 3 insertions, 0 deletions
diff --git a/packages/website/ts/utils/utils.ts b/packages/website/ts/utils/utils.ts
index 3c99bd2fe..c370ac90c 100644
--- a/packages/website/ts/utils/utils.ts
+++ b/packages/website/ts/utils/utils.ts
@@ -314,4 +314,7 @@ export const utils = {
return _.includes(window.location.href, configs.DOMAIN_STAGING);
},
isDogfood,
+ shouldShowPortalV2(): boolean {
+ return this.isDevelopment() || this.isStaging() || this.isDogfood();
+ },
};