a new tag editor fixes #20

also: discard document changes button
This commit is contained in:
Jonas Winkler
2020-11-04 17:23:36 +01:00
parent a8c0307d54
commit 4e904cf912
8 changed files with 179 additions and 57 deletions

View File

@@ -40,6 +40,10 @@ export abstract class AbstractPaperlessService<T extends ObjectWithId> {
return this.http.get<Results<T>>(this.getResourceUrl(), {params: httpParams})
}
listAll(ordering?: string, extraParams?): Observable<Results<T>> {
return this.list(1, 100000, ordering, extraParams)
}
get(id: number): Observable<T> {
return this.http.get<T>(this.getResourceUrl(id))
}