Skip to content

Commit

Permalink
changed brain ccres short name in app bar
Browse files Browse the repository at this point in the history
  • Loading branch information
NishiPhalke committed Dec 29, 2023
1 parent 35e4056 commit 07659ef
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@weng-lab/psychscreen-ui-components",
"description": "Typescript and Material UI based components used for psychSCREEN",
"author": "SCREEN Team @ UMass Chan Medical School",
"version": "0.8.2",
"version": "0.8.3",
"license": "MIT",
"main": "dist/index.js",
"typings": "dist/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion src/components/AppBar/AppBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export const PortalsMenuItem: React.FC<{ children?: React.ReactNode, onClick?: (
const PortalsMenu: React.FC<{ onPortalClicked?: (index: number) => void }> = ({ onPortalClicked }) => (
<>
<PortalsMenuItem onClick={() => onPortalClicked && onPortalClicked(0)}>Disease/Trait</PortalsMenuItem>
<PortalsMenuItem onClick={() => onPortalClicked && onPortalClicked(1)}>Gene/bCRE</PortalsMenuItem>
<PortalsMenuItem onClick={() => onPortalClicked && onPortalClicked(1)}>Gene/b-cCRE</PortalsMenuItem>
<PortalsMenuItem onClick={() => onPortalClicked && onPortalClicked(2)}>SNP/QTL</PortalsMenuItem>
<PortalsMenuItem onClick={() => onPortalClicked && onPortalClicked(3)}>Single-Cell</PortalsMenuItem>
</>
Expand Down
2 changes: 1 addition & 1 deletion src/components/AppBar/TabletAppBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const PortalsMenu: React.FC<{ onItemClicked?: (index: number) => void }> = ({ on
<>
<OptionsMenuItem onClick={() => onItemClicked && onItemClicked(-1)}>About</OptionsMenuItem>
<OptionsMenuItem onClick={() => onItemClicked && onItemClicked(0)}>Disease/Trait Portal</OptionsMenuItem>
<OptionsMenuItem onClick={() => onItemClicked && onItemClicked(1)}>Gene/bCRE Portal</OptionsMenuItem>
<OptionsMenuItem onClick={() => onItemClicked && onItemClicked(1)}>Gene/b-cCRE Portal</OptionsMenuItem>
<OptionsMenuItem onClick={() => onItemClicked && onItemClicked(2)}>SNP/QTL Portal</OptionsMenuItem>
<OptionsMenuItem onClick={() => onItemClicked && onItemClicked(3)}>Single-Cell Portal</OptionsMenuItem>
</>
Expand Down
2 changes: 1 addition & 1 deletion stories/DropDownMenu.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export default meta;
const Template: Story<DropDownMenuProps> = args => (
<DropDownMenu>
<MenuItem>Disease/Trait</MenuItem>
<MenuItem>Gene/bCRE</MenuItem>
<MenuItem>Gene/b-cCRE</MenuItem>
<MenuItem>SNP/QTL</MenuItem>
<MenuItem>Single-Cell</MenuItem>
</DropDownMenu>
Expand Down
2 changes: 1 addition & 1 deletion stories/SearchBox.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export default meta;

const SELECT_OPTIONS = [
{ name: "Disease/Trait", value: "disease", helperText: "e.g. schizophrenia, years of education" },
{ name: "Gene/bCRE", value: "gene", helperText: "e.g. APOE, PPIF1" },
{ name: "Gene/b-cCRE", value: "gene", helperText: "e.g. APOE, PPIF1" },
{ name: "SNP/QTL", value: "SNP", helperText: "e.g. rs2836883, rs7690700" }
]

Expand Down
2 changes: 1 addition & 1 deletion stories/Select.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export default meta;
const Template: Story<SelectProps> = args => (
<Select variant="standard" defaultValue="disease/trait" {...args}>
<MenuItem value="disease/trait">Disease/Trait</MenuItem>
<MenuItem value="gene/bcre">Gene/bCRE</MenuItem>
<MenuItem value="gene/bcre">Gene/b-cCRE</MenuItem>
<MenuItem value="snp/qtl">SNP/QTL</MenuItem>
<MenuItem value="single-cell">Single Cell</MenuItem>
</Select>
Expand Down

0 comments on commit 07659ef

Please sign in to comment.