From 53c0b6e1c779e15566c01da3a6f8d209cc488770 Mon Sep 17 00:00:00 2001
From: shamoon <4887959+shamoon@users.noreply.github.com>
Date: Mon, 21 Apr 2025 10:59:37 -0700
Subject: [PATCH] Hook up the add buttons
---
.../document-detail/document-detail.component.html | 7 +++++--
.../document-detail/document-detail.component.ts | 2 ++
2 files changed, 7 insertions(+), 2 deletions(-)
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 f875ceeac..00fff9f2b 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 }">