From 2484c63d77e05fff384cc08b6ea46a29a22a62ec Mon Sep 17 00:00:00 2001 From: Markus Hatvan Date: Tue, 5 Oct 2021 16:46:55 +0200 Subject: chore: repo maintenance (#732) --- recipes/feedbin/webview.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'recipes/feedbin') diff --git a/recipes/feedbin/webview.js b/recipes/feedbin/webview.js index 5c08892..197814e 100644 --- a/recipes/feedbin/webview.js +++ b/recipes/feedbin/webview.js @@ -1,8 +1,9 @@ -module.exports = (Ferdi) => { +module.exports = Ferdi => { const getMessages = () => { + // eslint-disable-next-line no-undef const count = feedbin.count_data.unread_entries.length || 0; Ferdi.setBadge(count); - } + }; Ferdi.loop(getMessages); }; -- cgit v1.2.3-70-g09d2