From 3acad6647c86aa69b03df0f91fccabadfa095b55 Mon Sep 17 00:00:00 2001 From: nate Date: Thu, 9 Apr 2026 08:00:03 +0400 Subject: [PATCH] fix --- apps/web/src/dashboard/app.js | 52 +++++++++++++++++++++++++ apps/web/src/views/status-page-edit.ejs | 41 ++----------------- 2 files changed, 55 insertions(+), 38 deletions(-) diff --git a/apps/web/src/dashboard/app.js b/apps/web/src/dashboard/app.js index e09bf5e..2fe555c 100644 --- a/apps/web/src/dashboard/app.js +++ b/apps/web/src/dashboard/app.js @@ -92,3 +92,55 @@ function watchAccount(onPing) { connect(); return ac; } + +// Status page edit form: Change/Remove flow for the password field. The +// section is only present when an existing page already has a password set; +// the helper is a no-op on every other page. Lives here (rather than inline +// in the .eta template) because Eta's parser chokes on stray `%` characters +// inside - <% } %> + <%# Password section behavior lives in apps/web/src/dashboard/app.js + (initPasswordSection). It's loaded by partials/head.ejs on every + dashboard page and self-attaches when [data-password-section] exists. %>