diff --git a/static/js/app.js b/static/js/app.js index 4829867..c5f1758 100644 --- a/static/js/app.js +++ b/static/js/app.js @@ -369,7 +369,7 @@ document.addEventListener("alpine:init", () => { init() { // Read initial logs from script tag (avoids escaping issues) const initialLogsEl = this.$el.querySelector(".initial-logs"); - this.logs = initialLogsEl?.textContent || "Loading..."; + this.logs = initialLogsEl?.dataset.logs || "Loading..."; // Set up scroll tracking this.$nextTick(() => { diff --git a/templates/deployments.html b/templates/deployments.html index 731e78c..1016fc8 100644 --- a/templates/deployments.html +++ b/templates/deployments.html @@ -98,7 +98,7 @@ title="Scroll to bottom" >↓ Follow - {{if .Logs.Valid}}{{end}} + {{if .Logs.Valid}}{{end}} {{end}}