mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2026-10-28 10:35:43 +00:00
rename some stuff
This commit is contained in:
1 parent
e228e18f04
commit
9e311241b3
2 files changed
+5
-6
No files matched your search
@@ -28,9 +28,9 @@ export interface SelectionDataItem {
|
||||
}
|
||||
|
||||
export interface SelectionData {
|
||||
correspondents: SelectionDataItem[]
|
||||
tags: SelectionDataItem[]
|
||||
document_types: SelectionDataItem[]
|
||||
selected_correspondents: SelectionDataItem[]
|
||||
selected_tags: SelectionDataItem[]
|
||||
selected_document_types: SelectionDataItem[]
|
||||
}
|
||||
|
||||
@Injectable({
|
||||
@@ -125,8 +125,7 @@ export class DocumentService extends AbstractPaperlessService<PaperlessDocument>
|
||||
})
|
||||
}
|
||||
|
||||
selectionData(ids: number[]): Observable<SelectionData> {
|
||||
console.log(ids)
|
||||
getSelectionData(ids: number[]): Observable<SelectionData> {
|
||||
return this.http.post<SelectionData>(this.getResourceUrl(null, 'selection_data'), {"documents": ids})
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user