mirror of
				https://github.com/paperless-ngx/paperless-ngx.git
				synced 2025-10-30 03:56:23 -05:00 
			
		
		
		
	rename some stuff
This commit is contained in:
		| @@ -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
	 jonaswinkler
					jonaswinkler