From 317754a3b9f543413eae4b7b03345ae2c6e6cb92 Mon Sep 17 00:00:00 2001 From: choelzl Date: Mon, 7 Feb 2022 03:58:40 +0100 Subject: [PATCH] WIP --- web/overlay/index.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/web/overlay/index.js b/web/overlay/index.js index f5790bf..6b823dc 100644 --- a/web/overlay/index.js +++ b/web/overlay/index.js @@ -95,8 +95,9 @@ $(function () { }) socket.getDBValue('get_current_stream_info_counts', 'panelData', 'stream', (e)=>{ let data = JSON.parse(e.panelData); - countFollow = data.followers; + countFollow = data.followers || countFollow; countSub = 0; + refreshUI(); }) } }catch(e) {console.log(e)}