From: shamoon <4887959+shamoon@users.noreply.github.com>
Date: Mon, 21 Apr 2025 17:59:37 +0000 (-0700)
Subject: Hook up the add buttons
X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=abbf9060d084ea79520ba3457f26f98eabf25e58;p=thirdparty%2Fpaperless-ngx.git
Hook up the add buttons
---
diff --git a/src-ui/src/app/components/document-detail/document-detail.component.html b/src-ui/src/app/components/document-detail/document-detail.component.html
index 21cf39d44..cc1308f47 100644
--- a/src-ui/src/app/components/document-detail/document-detail.component.html
+++ b/src-ui/src/app/components/document-detail/document-detail.component.html
@@ -115,7 +115,10 @@
[disabled]="!userCanEdit || suggestionsLoading"
[loading]="suggestionsLoading"
[suggestions]="suggestions"
- (getSuggestions)="getSuggestions()">
+ (getSuggestions)="getSuggestions()"
+ (addTag)="tagsInput.createTag($event)"
+ (addDocumentType)="createDocumentType($event)"
+ (addCorrespondent)="createCorrespondent($event)">
@@ -149,7 +152,7 @@
(createNew)="createDocumentType($event)" [hideAddButton]="createDisabled(DataType.DocumentType)" [suggestions]="suggestions?.document_types" *pngxIfPermissions="{ action: PermissionAction.View, type: PermissionType.DocumentType }">