From b3f6efef8a438fb73a12da0680a297f9019f0842 Mon Sep 17 00:00:00 2001 From: Sovran Systems <99053422+naturallaw777@users.noreply.github.com> Date: Wed, 29 Apr 2026 22:24:24 -0500 Subject: [PATCH] =?UTF-8?q?hub:=20Zeus=20Connect=20=E2=80=94=20skip=20valu?= =?UTF-8?q?e/copy=20button=20when=20qronly=20is=20set?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/sovran_systemsos_web/static/js/service-detail.js | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/app/sovran_systemsos_web/static/js/service-detail.js b/app/sovran_systemsos_web/static/js/service-detail.js index 0920cae..4f8711c 100644 --- a/app/sovran_systemsos_web/static/js/service-detail.js +++ b/app/sovran_systemsos_web/static/js/service-detail.js @@ -7,11 +7,16 @@ function _renderCredsHtml(credentials, unit) { for (var i = 0; i < credentials.length; i++) { var cred = credentials[i]; var id = "cred-" + Math.random().toString(36).substring(2, 8); - var displayValue = linkify(cred.value); var qrBlock = ""; if (cred.qrcode) { qrBlock = '
QR Code for ' + escHtml(cred.label) + '
Scan with Zeus app on your phone
'; } + // If qronly, render the label + QR block only — skip value and copy button + if (cred.qronly) { + html += '
' + escHtml(cred.label) + '
' + qrBlock + '
'; + continue; + } + var displayValue = linkify(cred.value); html += '
' + escHtml(cred.label) + '
' + qrBlock + '
' + displayValue + '
'; } return html; @@ -534,7 +539,7 @@ function openSystemChangePasswordModal(unit, name, icon) { '' + '' + '' + - '
⚠ This will change both your desktop login and Hub login password. After changing, your updated password will appear in the System Passwords credentials tile. Make sure to remember it — you will need it to sign back into the Hub.
' + + '
⚠ This will change both your desktop login and Hub login password. After changing, your updated password will appear in the System Passwords credentials tile.
' + '
' + '' + '' +