diff --git a/src/frontend/app/indexation/indexation.component.ts b/src/frontend/app/indexation/indexation.component.ts index 465942d3c32d416a571f0dabd2eff3d62721db52..96882ae86e1fb8042569bbfbae246921b87b2a64 100644 --- a/src/frontend/app/indexation/indexation.component.ts +++ b/src/frontend/app/indexation/indexation.component.ts @@ -146,6 +146,7 @@ export class IndexationComponent implements OnInit { if (this.indexingForm.isValidForm()) { const formatdatas = this.formatDatas(this.indexingForm.getDatas()); + formatdatas['modelId'] = this.currentIndexingModel.master !== null ? this.currentIndexingModel.master : this.currentIndexingModel.id; formatdatas['chrono'] = true; formatdatas['encodedFile'] = this.appDocumentViewer.getFile().content; formatdatas['format'] = this.appDocumentViewer.getFile().format;