From 4790d00ad45f89aed5793682036a24e26426e01e Mon Sep 17 00:00:00 2001 From: astrid Date: Thu, 23 Jan 2025 20:43:20 +0100 Subject: [PATCH] hide expand button if no additional lines to show --- .../application/deployment/index.blade.php | 24 ++++++++++--------- 1 file changed, 13 insertions(+), 11 deletions(-) diff --git a/resources/views/livewire/project/application/deployment/index.blade.php b/resources/views/livewire/project/application/deployment/index.blade.php index b29b335c3..4a5bd28c3 100644 --- a/resources/views/livewire/project/application/deployment/index.blade.php +++ b/resources/views/livewire/project/application/deployment/index.blade.php @@ -75,8 +75,8 @@
Commit: - {{ substr(data_get($deployment, 'commit'), 0, 7) }} @@ -101,18 +101,20 @@ @endif @if ($deployment->commitMessage()) - - {{ Str::before($deployment->commitMessage(), "\n") }} - + @if ($deployment->commitMessage() !== Str::before($deployment->commitMessage(), "\n")) + + @endif @if (data_get($deployment, 'is_webhook')) Webhook @@ -132,7 +134,7 @@ @endif
@if ($deployment->commitMessage()) -