Closed renatodeleao closed 7 months ago
Describe the bug A syntax error is thrown when trying to open a player, no player is actually open.
To Reproduce Steps to reproduce the behaviour:
Expected behaviour
Env:
Additional context
openPlayer
settings()
this.settings()
https://github.com/4gray/iptvnator/blob/93399946503c22bdf59ce04fe85d4d756c5ad461/src/app/xtream/xtream-main-container.component.ts#L283
Describe the bug A syntax error is thrown when trying to open a player, no player is actually open.
To Reproduce Steps to reproduce the behaviour:
Expected behaviour
Env:
Additional context
openPlayer
function not handling the fact that I might not have anysettings()
yet (first try)this.settings()
is undefined, so a syntax error is thrownhttps://github.com/4gray/iptvnator/blob/93399946503c22bdf59ce04fe85d4d756c5ad461/src/app/xtream/xtream-main-container.component.ts#L283