Improve display mode button text.

This commit is contained in:
Dermot Duffy
2023-08-26 14:51:48 -07:00
parent af5b0f7f23
commit 48ece1e154
7 changed files with 29 additions and 23 deletions
+4 -1
View File
@@ -1102,7 +1102,10 @@ describe('MenuButtonController', () => {
enabled: true,
priority: 50,
type: 'custom:frigate-card-menu-icon',
title: 'Display mode',
title:
displayMode === 'grid'
? 'Show single media viewer'
: 'Show media viewer for each camera in a grid',
tap_action: {
action: 'fire-dom-event',
frigate_card_action: 'display_mode_select',