mirror of
https://github.com/4gray/iptvnator.git
synced 2026-10-10 01:56:16 -08:00
1 parent
5eb71f0927
commit
049ed6be51
1 file changed
+2
-5
@@ -105,7 +105,7 @@ export class SettingsComponent implements OnInit {
|
||||
player: settings.player
|
||||
? settings.player
|
||||
: VideoPlayer.VideoJs,
|
||||
...(this.isElectron ? { epgUrl: new Array() } : {}),
|
||||
...(this.isElectron ? { epgUrl: [] } : {}),
|
||||
language: settings.language
|
||||
? settings.language
|
||||
: Language.ENGLISH,
|
||||
@@ -137,10 +137,7 @@ export class SettingsComponent implements OnInit {
|
||||
|
||||
for (const url of epgUrls) {
|
||||
this.epgUrl.push(
|
||||
new UntypedFormControl(url, [
|
||||
Validators.required,
|
||||
Validators.pattern(URL_REGEX),
|
||||
])
|
||||
new UntypedFormControl(url, [Validators.pattern(URL_REGEX)])
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user