Don't support card-wide actions when a message is displayed

This commit is contained in:
Dermot Duffy
2022-06-25 09:33:32 -07:00
parent b5fb308067
commit 98b3eaadb5
2 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -1695,7 +1695,7 @@ export class FrigateCard extends LitElement {
* @returns A combined set of action.
*/
protected _getMergedActions(): Actions {
if (this._view?.is('timeline')) {
if (this._message || this._view?.is('timeline')) {
// Timeline does not support actions as it is not possible to prevent
// touch actions on the timeline surface from triggering card-wide actions
// inappropriately, whilst also maintaining touch interaction with the