fix(stalker): set itv title for web-player dialog

This commit is contained in:
4gray committed 2024-04-04 22:47:43 +02:00
1 parent cce02e736d
commit 3b98dc4e22
1 file changed
+7 -1
@@ -117,6 +117,8 @@ export class StalkerMainContainerComponent implements OnInit {
pageSize = 14;
pageIndex = 0;
itvTitle: string;
seasons: StalkerSeason[] = [];
commandsList = [
@@ -386,7 +388,10 @@ export class StalkerMainContainerComponent implements OnInit {
{
data: {
streamUrl,
title: title ?? this.itemDetails.info.name,
title:
title ??
this.itemDetails?.info?.name ??
this.itvTitle,
},
width: '80%',
}
@@ -488,6 +493,7 @@ export class StalkerMainContainerComponent implements OnInit {
}
if (this.selectedContentType === ContentType.ITV) {
this.itvTitle = item.name;
this.playVod(item.cmd);
return;
}