From 73ae4aa8ebddad61592b9a9e1edd26ed65c8639b Mon Sep 17 00:00:00 2001 From: NRayya <82588017+NRayya@users.noreply.github.com> Date: Thu, 1 Aug 2024 15:40:05 +0200 Subject: [PATCH] fix: add citation banner to public samples wherever missing fixes #1156 --- app/Http/Resources/StudyResource.php | 1 + resources/js/Pages/Public/Project/Study.vue | 18 ++++++++++++++++++ resources/js/Pages/Public/Sample/Show.vue | 19 +++++++++++++++++++ 3 files changed, 38 insertions(+) diff --git a/app/Http/Resources/StudyResource.php b/app/Http/Resources/StudyResource.php index edc00973..73bafc69 100644 --- a/app/Http/Resources/StudyResource.php +++ b/app/Http/Resources/StudyResource.php @@ -40,6 +40,7 @@ public function toArray($request) 'identifier' => $this->identifier, 'doi' => $this->doi, 'created_at' => $this->created_at, + 'release_date' => $this->release_date, 'is_public' => $this->is_public, 'public_url' => $this->public_url ? $this->public_url : null, 'updated_at' => $this->updated_at, diff --git a/resources/js/Pages/Public/Project/Study.vue b/resources/js/Pages/Public/Project/Study.vue index 558a05fc..27bf3389 100644 --- a/resources/js/Pages/Public/Project/Study.vue +++ b/resources/js/Pages/Public/Project/Study.vue @@ -5,6 +5,20 @@