refactor: fix navigation to stalker portal playlist

This commit is contained in:
4gray committed 2023-08-09 22:57:15 +02:00
1 parent 40f781cbb8
commit ff90a66c32
2 files changed
+4

No files matched your search

+2
View File
@@ -169,6 +169,8 @@ export class PlaylistEffects {
tap((playlist) => {
if (playlist.serverUrl) {
this.router.navigate(['/xtreams/', playlist._id]);
} else if (playlist.macAddress) {
this.router.navigate(['portals', playlist._id]);
} else {
this.router.navigate(['/playlists/', playlist._id]);
}