From ae8b1134c9dfa28c9c2adbc0b7e17e35e14dd7b0 Mon Sep 17 00:00:00 2001 From: Dermot Duffy Date: Sun, 8 Mar 2026 12:55:01 -0700 Subject: [PATCH] fix: Don't show `presets` menu when there's a single preset (#2404) - Closes: #2398 --- src/components/ptz.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/ptz.ts b/src/components/ptz.ts index 1eb4dff0..444c4421 100644 --- a/src/components/ptz.ts +++ b/src/components/ptz.ts @@ -140,7 +140,7 @@ export class AdvancedCameraCardPTZ extends LitElement { (this._actions?.home || presetSubmenuItems?.length) ? html`
${renderIcon('home', 'mdi:home', { actions: this._actions?.home })} - ${presetSubmenuItems?.length + ${presetSubmenuItems && presetSubmenuItems.length > 1 ? html`