Skip to content
Snippets Groups Projects
Commit fbe3f958 authored by Alex ORLUC's avatar Alex ORLUC
Browse files

FIX #12091 TIME 0:05 fix bad params

parent 9e86229d
No related branches found
No related tags found
No related merge requests found
......@@ -145,11 +145,11 @@ export class FoldersService {
}
classifyDocument(ev: any, folder: any) {
const dialogRef = this.dialog.open(ConfirmComponent, { autoFocus: false, disableClose: true, data: { title: this.lang.classify + ' ' + ev.item.data.alt_identifier, msg: this.lang.classifyQuestion + ' <b>' + ev.item.data.alt_identifier + '</b> ' + this.lang.in + ' <b>' + folder.label + '</b>&nbsp;?' } });
const dialogRef = this.dialog.open(ConfirmComponent, { autoFocus: false, disableClose: true, data: { title: this.lang.classify + ' ' + ev.item.data.chrono, msg: this.lang.classifyQuestion + ' <b>' + ev.item.data.chrono + '</b> ' + this.lang.in + ' <b>' + folder.label + '</b>&nbsp;?' } });
dialogRef.afterClosed().pipe(
filter((data: string) => data === 'ok'),
exhaustMap(() => this.http.post(`../../rest/folders/${folder.id}/resources`, { resources: [ev.item.data.res_id] })),
exhaustMap(() => this.http.post(`../../rest/folders/${folder.id}/resources`, { resources: [ev.item.data.resId] })),
tap((data: any) => {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment