diff options
author | Brandon Millman <brandon.millman@gmail.com> | 2018-05-16 07:18:49 +0800 |
---|---|---|
committer | Brandon Millman <brandon.millman@gmail.com> | 2018-05-19 02:35:13 +0800 |
commit | 317ff817445c20a64b5978dae1210a515c248f4f (patch) | |
tree | 0b7e8fd4793ee12fc8bc352b416d1575e5328d56 /packages/website/ts/utils/utils.ts | |
parent | bd7fc780cb8003a0b110615ff3c357ca9a426bd0 (diff) | |
download | dexon-sol-tools-317ff817445c20a64b5978dae1210a515c248f4f.tar dexon-sol-tools-317ff817445c20a64b5978dae1210a515c248f4f.tar.gz dexon-sol-tools-317ff817445c20a64b5978dae1210a515c248f4f.tar.bz2 dexon-sol-tools-317ff817445c20a64b5978dae1210a515c248f4f.tar.lz dexon-sol-tools-317ff817445c20a64b5978dae1210a515c248f4f.tar.xz dexon-sol-tools-317ff817445c20a64b5978dae1210a515c248f4f.tar.zst dexon-sol-tools-317ff817445c20a64b5978dae1210a515c248f4f.zip |
Set up scaffolding for new drawer
Diffstat (limited to 'packages/website/ts/utils/utils.ts')
-rw-r--r-- | packages/website/ts/utils/utils.ts | 3 |
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(); + }, }; |