diff --git a/desktop/js/googlecast.js b/desktop/js/googlecast.js index 1df02b0..831f15a 100644 --- a/desktop/js/googlecast.js +++ b/desktop/js/googlecast.js @@ -125,7 +125,7 @@ function addCmdToTable(_cmd) { var _cmd = {configuration: {}}; } var tr = ''; - if ( (_cmd.logicalId != null) && _cmd.configuration.googlecast_cmd!==undefined ) { + if ( (_cmd.logicalId != null) && _cmd.configuration.googlecast_cmd===true ) { tr = ''; tr += ''; tr += '
'; @@ -209,7 +209,7 @@ function addCmdToTable(_cmd) { tr += ' '; tr += ' Tester'; } - if (_cmd.configuration.googlecast_cmd_mod===undefined) { + if (_cmd.configuration.googlecast_cmd_mod!==true) { tr += '
'; } }