diff --git a/frontend/src/app/services/api.service.ts b/frontend/src/app/services/api.service.ts index b4607cd90..4acf5b75a 100644 --- a/frontend/src/app/services/api.service.ts +++ b/frontend/src/app/services/api.service.ts @@ -253,7 +253,7 @@ export class ApiService { public createTag(name: string, description?: string): Observable { const url = this.apiRoute(this.tagApiUrl, 'tags/'); - return this.http.put(url, { name, description }); + return this.http.post(url, { name, description }); } public documentTags(document: FoundDocument): Observable { diff --git a/frontend/src/app/tag/tag-select/tag-select.component.html b/frontend/src/app/tag/tag-select/tag-select.component.html index ed5fb866d..9284fa404 100644 --- a/frontend/src/app/tag/tag-select/tag-select.component.html +++ b/frontend/src/app/tag/tag-select/tag-select.component.html @@ -1,17 +1,36 @@
-
+ +
+ + +
- +
+
+ +
+ +
+
+
+
+