added autocomplete

This commit is contained in:
Jonas Winkler
2020-10-27 17:05:14 +01:00
parent 8b5470bc55
commit fb0ad94a9c
5 changed files with 44 additions and 9 deletions

View File

@@ -14,9 +14,9 @@ export abstract class AbstractPaperlessService<T extends ObjectWithId> {
let url = `${this.baseUrl}${this.resourceName}/`
if (id) {
url += `${id}/`
if (action) {
url += `${action}/`
}
}
if (action) {
url += `${action}/`
}
return url
}