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.

Drop dead PBS/PMG keys from the platform icon helper

rcourtman263669938337
diff --git a/frontend-modern/src/features/platformPage/platformIcon.ts b/frontend-modern/src/features/platformPage/platformIcon.ts
index 6c5ca6e121..ae9f540171 100644
--- a/frontend-modern/src/features/platformPage/platformIcon.ts
+++ b/frontend-modern/src/features/platformPage/platformIcon.ts
@@ -1,7 +1,5 @@
import type { JSX } from 'solid-js';
import CpuIcon from 'lucide-solid/icons/cpu';
-import DatabaseIcon from 'lucide-solid/icons/database';
-import MailIcon from 'lucide-solid/icons/mail';
import ServerIcon from 'lucide-solid/icons/server';
import UsersIcon from 'lucide-solid/icons/users';
import { DockerIcon } from '@/components/icons/DockerIcon';
@@ -16,16 +14,14 @@ export type PlatformIconKey =
| 'truenas'
| 'vmware'
| 'standalone'
- | 'pbs'
- | 'pmg'
| 'systems';
export type PlatformIcon = (props: { class?: string }) => JSX.Element;
// Single source of truth for the icon shown per platform. Brand marks (Proxmox,
// Docker, Kubernetes, TrueNAS) come from inlined simple-icons SVGs; vSphere has
-// no legible square brand glyph so it keeps a generic CPU mark. PBS/PMG/Systems/
-// Standalone are not third-party brands and use semantic generic icons.
+// no legible square brand glyph so it keeps a generic CPU mark. Systems/Standalone
+// are not third-party brands and use semantic generic icons.
const PLATFORM_ICONS: Record<PlatformIconKey, PlatformIcon> = {
proxmox: ProxmoxIcon,
docker: DockerIcon,
@@ -33,8 +29,6 @@ const PLATFORM_ICONS: Record<PlatformIconKey, PlatformIcon> = {
truenas: TrueNASIcon,
vmware: CpuIcon,
standalone: ServerIcon,
- pbs: DatabaseIcon,
- pmg: MailIcon,
systems: UsersIcon,
};