Skip to content

Commit

Permalink
hide pause button
Browse files Browse the repository at this point in the history
  • Loading branch information
mayalb committed Jun 21, 2023
1 parent 43602a3 commit 8522858
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,20 +36,20 @@ export default (
onClick={async() => {
// const p = Promise.resolve('Hello World');
let data = 'projectName, startTime, stopTime, user, text, ontology,subConcept1,subConcept2,subConcept3, relationConcept' + '\n';
console.log('annotations: ', annotations)
// console.log('annotations: ', annotations.)
let subConcept1= ''
let subConcept2= ''
let subConcept3= ''
let relationConcept=''
await Promise.all(annotations.map(async (item) => {
console.log('item ', item)
console.log('item ', item.user.username)
let res= await getConcept(item.id)
// console.log('list des concept',res)
let ontology=res[0]
console.log('print ontology ',ontology, item.text)
// console.log('print ontology ',ontology, item.text)
if(ontology=== undefined|| ontology===''){
ontology=''
console.log('dkhlna khawti')
// console.log('dkhlna khawti')
}else{
let superClasses=res[1]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -505,15 +505,15 @@ const AnnotationEditorComponent: React.FC<Props> = ({
/>
</div>
<div className={classes.buttons}>
<FormControlLabel
{/* <FormControlLabel
control={
<Checkbox
checked={pause}
onChange={(event) => onCheckPauseChange(event.target.checked)}
/>
}
label={t("annotation.pauseLabel")}
/>
/> */}
<IconButton color="secondary" onClick={() => onClickCancel()}>
<CancelIcon />
</IconButton>
Expand Down

0 comments on commit 8522858

Please sign in to comment.