From 8522858ee193bb690a5ba3256e51bd30067c9496 Mon Sep 17 00:00:00 2001 From: larbi Date: Wed, 21 Jun 2023 15:40:31 +0200 Subject: [PATCH] hide pause button --- .../components/SideBar/components/CSVAnnotationExport.tsx | 8 ++++---- .../AnnotationEditor/AnnotationEditorComponent.tsx | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/packages/client/src/scenes/Project/components/SideBar/components/CSVAnnotationExport.tsx b/packages/client/src/scenes/Project/components/SideBar/components/CSVAnnotationExport.tsx index d7fb83c..be99b98 100755 --- a/packages/client/src/scenes/Project/components/SideBar/components/CSVAnnotationExport.tsx +++ b/packages/client/src/scenes/Project/components/SideBar/components/CSVAnnotationExport.tsx @@ -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] diff --git a/packages/client/src/scenes/Project/scenes/Video/components/AnnotationEditor/AnnotationEditorComponent.tsx b/packages/client/src/scenes/Project/scenes/Video/components/AnnotationEditor/AnnotationEditorComponent.tsx index 6a7828b..57146d3 100644 --- a/packages/client/src/scenes/Project/scenes/Video/components/AnnotationEditor/AnnotationEditorComponent.tsx +++ b/packages/client/src/scenes/Project/scenes/Video/components/AnnotationEditor/AnnotationEditorComponent.tsx @@ -505,7 +505,7 @@ const AnnotationEditorComponent: React.FC = ({ />
- = ({ /> } label={t("annotation.pauseLabel")} - /> + /> */} onClickCancel()}>