From ec98c8226e2f2628e079e272edd53c9e127f2e50 Mon Sep 17 00:00:00 2001 From: Eli Ribble Date: Tue, 12 May 2026 23:20:54 +0000 Subject: [PATCH] Add log and related resources to API in frontend --- resource/communication.go | 1 + ts/components/CommunicationColumnDetail.vue | 10 ++++----- ts/type/api.ts | 24 +++++++++++++++++++++ 3 files changed, 29 insertions(+), 6 deletions(-) diff --git a/resource/communication.go b/resource/communication.go index 015aa9d6..f47a8f70 100644 --- a/resource/communication.go +++ b/resource/communication.go @@ -203,6 +203,7 @@ func (res *communicationR) hydrateCommunication(comm modelpublic.Communication, return communication{ Created: comm.Created, ID: strconv.Itoa(int(comm.ID)), + Log: []communicationLog{}, Related: related, Response: response, Source: source_uri, diff --git a/ts/components/CommunicationColumnDetail.vue b/ts/components/CommunicationColumnDetail.vue index 6dcaa787..4fff40cd 100644 --- a/ts/components/CommunicationColumnDetail.vue +++ b/ts/components/CommunicationColumnDetail.vue @@ -74,12 +74,10 @@
- -

Loading details...

@@ -88,7 +86,7 @@