diff options
Diffstat (limited to 'ext/js/display/display-audio.js')
-rw-r--r-- | ext/js/display/display-audio.js | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/ext/js/display/display-audio.js b/ext/js/display/display-audio.js index deaa0976..7d75d6b0 100644 --- a/ext/js/display/display-audio.js +++ b/ext/js/display/display-audio.js @@ -514,8 +514,10 @@ export class DisplayAudio { !canToggleOff || primaryCardAudio === null || primaryCardAudio.index !== index || - primaryCardAudio.subIndex !== subIndex - ) ? {index: index, subIndex} : null; + primaryCardAudio.subIndex !== subIndex ? + {index: index, subIndex} : + null + ); cacheEntry.primaryCardAudio = primaryCardAudio; if (menu !== null) { |