Skip to content
Snippets Groups Projects
Commit 4c541c69 authored by Antoine Roy's avatar Antoine Roy
Browse files

console.log retirés

parent c135bd7c
No related branches found
No related tags found
2 merge requests!12integration of title into annotation,!10Draft: MigratingAnnotationCreation to MUI5.
Pipeline #1689 failed
......@@ -443,7 +443,7 @@ class AnnotationCreation extends Component {
return (
<CompanionWindow
title={title ? title : 'New annotation'}
title={title ? title : 'totos'}
windowId={windowId}
id={id}
>
......
......@@ -89,14 +89,7 @@ export default class WebAnnotation {
.map((kv) => `${kv[0]}=${kv[1]}`)
.join('&'),
});
}
if(target.selector){
target.selector = selectors.length === 1 ? selectors[0] : selectors;
target = {
selector: target.selector,
source: this.source(),
}
}
}target.selector = selectors.length === 1 ? selectors[0] : selectors;
return target;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment