From: Fiona Ebner <f.ebner@proxmox.com>
To: pve-devel@lists.proxmox.com
Subject: [PATCH manager 1/2] ui: guest identity: hide copy-to-clipboard button when there is no uid
Date: Mon, 23 Nov 2026 17:36:05 +0100 [thread overview]
Message-ID: <20261123163615.519838-2-f.ebner@proxmox.com> (raw)
In-Reply-To: <20261123163615.519838-1-f.ebner@proxmox.com>
The button cannot be used for a window instance without a uid, so hide
it completely.
Signed-off-by: Fiona Ebner <f.ebner@proxmox.com>
---
www/manager6/panel/GuestIdentity.js | 1 +
1 file changed, 1 insertion(+)
diff --git a/www/manager6/panel/GuestIdentity.js b/www/manager6/panel/GuestIdentity.js
index 62c54d0f..dbba0062 100644
--- a/www/manager6/panel/GuestIdentity.js
+++ b/www/manager6/panel/GuestIdentity.js
@@ -44,6 +44,7 @@ Ext.define('PVE.window.GuestIdentity', {
tooltip: gettext('Copy to Clipboard'),
ariaLabel: gettext('Copy to Clipboard'),
disabled: !meta.uid,
+ hidden: !meta.uid,
margin: '0 0 0 5',
handler: () => PVE.Utils.copyToClipboard(meta.uid),
},
--
2.47.3
next prev parent reply other threads:[~2026-11-23 16:36 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-23 16:36 [PATCH-SERIES manager 0/2] ui: guest identity: small improvements Fiona Ebner
2026-11-23 16:36 ` Fiona Ebner [this message]
2026-11-23 16:36 ` [PATCH manager 2/2] ui: guest identity: use displayfield for uid Fiona Ebner
2026-11-23 17:44 ` applied: [PATCH-SERIES manager 0/2] ui: guest identity: small improvements Thomas Lamprecht
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261123163615.519838-2-f.ebner@proxmox.com \
--to=f.ebner@proxmox.com \
--cc=pve-devel@lists.proxmox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox