Skip to content

Commit

Permalink
Minor UI fix for Foufront
Browse files Browse the repository at this point in the history
  • Loading branch information
dmichaels-harvard committed Aug 30, 2023
1 parent 427863e commit 425f170
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions foursight_core/react/ui/static/js/main.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions react/src/utils/Env.js
Original file line number Diff line number Diff line change
Expand Up @@ -216,11 +216,11 @@ function IsFoursightFlavor(header, flavor) {
return true;
}
const site = !header?.loading ? header?.app?.package : Cookie.Site();
return site == `foursight-${flavor}`;
return site == `foursight-${flavor}` || site == flavor;
}

function IsFoursightFourfront(header) {
return IsFoursightFlavor(header, "fourfront");
return IsFoursightFlavor(header, "foursight");
}

function IsFoursightCgap(header) {
Expand Down

0 comments on commit 425f170

Please sign in to comment.