]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
webui: fix clear all stats button thinko
authorMark Clarkstone <hello@markclarkstone.co.uk>
Wed, 27 Sep 2017 22:46:41 +0000 (23:46 +0100)
committerJaroslav Kysela <perex@perex.cz>
Thu, 28 Sep 2017 16:59:38 +0000 (18:59 +0200)
src/webui/static/app/status.js

index 586e1c897a1d4d006e4698e913500d4707dd6831..b08556be2f9b985a7551d4916c020671b280053a 100644 (file)
@@ -493,7 +493,7 @@ tvheadend.status_streams = function(panel, index)
                     }
                     clearStat = function(record) {
                         uuid = record.data.uuid;
-                        if (!uuid || 'undefined') {
+                        if (!uuid) {
                             return;
                         }
                         Ext.Ajax.request({