Skip to content

Commit

Permalink
fix check for enabling report tab (#219)
Browse files Browse the repository at this point in the history
Co-authored-by: Amy Chen <[email protected]>
  • Loading branch information
achen2401 and Amy Chen authored Dec 3, 2024
1 parent 2137cd2 commit b75f3fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/helpers/utility.js
Original file line number Diff line number Diff line change
Expand Up @@ -678,7 +678,7 @@ export function getSiteId() {

export function isReportEnabled() {
const siteId = getSiteId();
return String(siteId).toLowerCase() === "uwmc";
return ["uwmc", "demo"].indexOf(String(siteId).toLowerCase()) !== -1;
}

export function getEnvDashboardURL() {
Expand Down

0 comments on commit b75f3fc

Please sign in to comment.