Fix assignment in switch expression issues

This commit is contained in:
Bill Thornton
2022-10-04 16:10:57 -04:00
parent 31c8060463
commit 9cb03ba4e5
4 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -67,7 +67,7 @@ function getDeviceHtml(device) {
}
function getTunerName(providerId) {
switch (providerId = providerId.toLowerCase()) {
switch (providerId.toLowerCase()) {
case 'm3u':
return 'M3U';
@@ -202,7 +202,7 @@ export default function (page, providerId, options) {
}
function getTunerName(providerId) {
switch (providerId = providerId.toLowerCase()) {
switch (providerId.toLowerCase()) {
case 'm3u':
return 'M3U Playlist';
case 'hdhomerun':
+1 -1
View File
@@ -106,7 +106,7 @@ export default function (page, providerId, options) {
}
function getTunerName(providerId) {
switch (providerId = providerId.toLowerCase()) {
switch (providerId.toLowerCase()) {
case 'm3u':
return 'M3U Playlist';
case 'hdhomerun':