Skip to content

Commit

Permalink
masquer ontology option
Browse files Browse the repository at this point in the history
  • Loading branch information
mayalb committed Nov 20, 2023
1 parent 73b55cb commit 14dcd8b
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 7 deletions.
5 changes: 4 additions & 1 deletion packages/client/src/i18n/en.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ export default {
legalNotice: 'Legal notice',
termsAndConditions: 'Terms & Conditions',
about: 'about',
tutorial:'tutorial',
},

home: {
Expand All @@ -25,7 +26,9 @@ export default {
publicProjects: 'Public projects',
emptySearchResult: 'No matching projects',
},

tutorial:{
title:'Tutorial'
},
about: {
logo:'E-spect@tor',
title: 'About',
Expand Down
4 changes: 4 additions & 0 deletions packages/client/src/i18n/fr.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ export default {
legalNotice: 'Mention légales',
termsAndConditions: "Conditions Générales d'Utilisation",
about: 'à propos',
tutorial:'tutorial'
},

home: {
Expand All @@ -27,6 +28,9 @@ export default {
emptySearchResult: 'Aucun projet ne correspond à votre recherche',
},

tutorial:{
title:'Tutorial'
},
about: {
logo:'E-spect@teur',
title: 'À propos',
Expand Down
2 changes: 1 addition & 1 deletion packages/client/src/scenes/Menu/MenuComponent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ const MenuComponent: React.FC<Props> = ({
)}
</Popper>
<Button component={getButtonLink("/About")}>{t("menu.about")}</Button>
<Button component={getButtonLink("/Tutorial")}>{'Tutorial'}</Button>
<Button component={getButtonLink("/Tutorial")}>{t("menu.tutorial")}</Button>
<SigninBar
user={user}
onClickLogin={onClickLogin}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ const SideBarComponenent: React.FC<Props> = ({
}}
/>
)} */}
{user && (
{/* {user && (
<LabeledProgressSwitch
label={'Ontology'}
checked={sequencing}
Expand All @@ -229,13 +229,13 @@ const SideBarComponenent: React.FC<Props> = ({
// }
}}
/>
)}
)} */}
<LabeledProgressSwitch
label={t('project.analyze')}
checked={!performance_mode}
loading={false}
onChange={() => {
if (performance_mode === false && sequencing === true) {
if (performance_mode === false) {
onClickSwitchSequencing();
}
onClickSwitchPlayerMode();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ export default class EmotionOntologyPicker extends React.Component<
return (
<div>
<div style={ontologyStyles}>
{!this.props.perf && this.props.sequencing ?(
{!this.props.perf ?(
<>
<select value={this.state.concept} onChange={this.handleChange}>
{options.map((option) => (
Expand Down
2 changes: 1 addition & 1 deletion packages/client/tsconfig.tsbuildinfo

Large diffs are not rendered by default.

0 comments on commit 14dcd8b

Please sign in to comment.