Only show thumbnail if Function is != None

This commit is contained in:
Isaac Connor 2021-08-19 18:40:50 -04:00
parent 7a6c244aa7
commit 68a7635d9b
1 changed files with 2 additions and 2 deletions

View File

@ -292,7 +292,7 @@ for( $monitor_i = 0; $monitor_i < count($displayMonitors); $monitor_i += 1 ) {
<?php
}
$imgHTML = '';
if (ZM_WEB_LIST_THUMBS && ($monitor['Status'] == 'Connected') && $running && canView('Stream')) {
if (ZM_WEB_LIST_THUMBS && $monitor['Function'] != 'None' && ($monitor['Status'] == 'Connected') && $running && canView('Stream')) {
$options = array();
$ratio_factor = $Monitor->ViewHeight() / $Monitor->ViewWidth();