From f429a48ad662e85b3ab4bbc7922c3830d1bd8885 Mon Sep 17 00:00:00 2001 From: sorcier Date: Tue, 3 Nov 2026 19:11:18 +0100 Subject: [PATCH] fix(js): define wantsReg in renderTrunksTable --- public/assets/app.js | 1 + 1 file changed, 1 insertion(+) diff --git a/public/assets/app.js b/public/assets/app.js index a3c232d..f27f129 100644 --- a/public/assets/app.js +++ b/public/assets/app.js @@ -1581,6 +1581,7 @@ function renderTrunksTable() { const regInfo = regs[slug]; const regMode = t.registration_mode || (Number(t.register) === 1 ? 'send' : 'none'); const isIpAuth = t.auth_mode === 'ip'; + const wantsReg = regMode === 'send' && !isIpAuth; let statusBadge = ''; if (Number(t.enabled ?? 1) === 0) {