Clean up message content.

This commit is contained in:
Dermot Duffy
2023-10-05 21:36:53 -07:00
parent d895c43e67
commit 63d90a8eb5
2 changed files with 7 additions and 4 deletions
+6 -3
View File
@@ -949,9 +949,12 @@ export class FrigateCardLiveProvider
// receiving frames). Otherwise a single temporarily unavailable camera
// would render a whole carousel inoperable.
return renderMessage({
message: localize('error.live_camera_unavailable'),
type: 'error',
context: this.cameraConfig,
message: `${localize('error.live_camera_unavailable')}${
this.label ? `: ${this.label}` : ''
}`,
type: 'info',
icon: 'mdi:cctv-off',
dotdotdot: true,
});
}
}