Skip to content

armgit / Pulse

Public Imported from GitHub
0

Real-time monitoring dashboard for Proxmox VE, PBS, Docker, Kubernetes, TrueNAS and vSphere. Self-hosted, with alerts for failed backups, full disks, unhealthy containers and offline nodes.

Add hover title to PMG instance drawer resource name

rcourtman5202a945a251
diff --git a/frontend-modern/src/components/PMG/PMGInstanceDrawer.tsx b/frontend-modern/src/components/PMG/PMGInstanceDrawer.tsx
index 987bd7c4da..a72f1775bb 100644
--- a/frontend-modern/src/components/PMG/PMGInstanceDrawer.tsx
+++ b/frontend-modern/src/components/PMG/PMGInstanceDrawer.tsx
@@ -238,7 +238,14 @@ export const PMGInstanceDrawer: Component<PMGInstanceDrawerProps> = (props) => {
<Card padding="lg">
<div class="flex items-start justify-between gap-4">
<div class="min-w-0">
- <div class="text-sm font-semibold text-base-content truncate">
+ <div
+ class="text-sm font-semibold text-base-content truncate"
+ title={
+ asTrimmedString(props.resourceName) ||
+ resource()?.name ||
+ drawerPresentation.defaultResourceName
+ }
+ >
{asTrimmedString(props.resourceName) ||
resource()?.name ||
drawerPresentation.defaultResourceName}