Add play media action (#11702)

Co-authored-by: Zack Barett <zackbarett@hey.com>
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
This commit is contained in:
Bram Kragten
2022-02-18 13:21:00 +01:00
committed by GitHub
parent cbd0ef6b65
commit 5c5459bcaf
19 changed files with 886 additions and 130 deletions

View File

@@ -28,10 +28,10 @@ class DialogMediaPlayerBrowse extends LitElement {
public showDialog(params: MediaPlayerBrowseDialogParams): void {
this._params = params;
this._navigateIds = [
this._navigateIds = params.navigateIds || [
{
media_content_id: this._params.mediaContentId,
media_content_type: this._params.mediaContentType,
media_content_id: undefined,
media_content_type: undefined,
},
];
}