Skip to content

An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.

Fix text disappearing during selection in deployment logs

Andras Bacsaid40c2caca201
diff --git a/resources/views/livewire/project/application/deployment/show.blade.php b/resources/views/livewire/project/application/deployment/show.blade.php
index f125cde91b..365db724d8 100644
--- a/resources/views/livewire/project/application/deployment/show.blade.php
+++ b/resources/views/livewire/project/application/deployment/show.blade.php
@@ -63,7 +63,8 @@
},
renderHighlightedLog(el, text) {
// Skip re-render if user has text selected in logs (preserves copy ability)
- if (this.hasActiveLogSelection()) {
+ // But always render if the element is empty (initial render)
+ if (el.textContent && this.hasActiveLogSelection()) {
return;
}