From 155c4b832281348c16be1f4ef667e6e23dbf1bd8 Mon Sep 17 00:00:00 2001 From: Vijay Raghavan Aravamudhan Date: Fri, 27 Aug 2021 18:13:24 +0530 Subject: chore: normalized all recipes to ensure compatibility with es6 (#639) - Removed some calls to set badge with '0' all the time. - Removed all 'sourceMaps' since they are all outdated atm. --- recipes/infomaniak-mail/package.json | 2 +- recipes/infomaniak-mail/webview.js | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'recipes/infomaniak-mail') diff --git a/recipes/infomaniak-mail/package.json b/recipes/infomaniak-mail/package.json index f821a69..b991467 100644 --- a/recipes/infomaniak-mail/package.json +++ b/recipes/infomaniak-mail/package.json @@ -1,7 +1,7 @@ { "id": "infomaniak-mail", "name": "Infomaniak Mail", - "version": "1.0.2", + "version": "1.1.0", "license": "MIT", "config": { "serviceURL": "https://mail.infomaniak.com/" diff --git a/recipes/infomaniak-mail/webview.js b/recipes/infomaniak-mail/webview.js index 235a14d..0022949 100644 --- a/recipes/infomaniak-mail/webview.js +++ b/recipes/infomaniak-mail/webview.js @@ -3,5 +3,6 @@ module.exports = Ferdi => { const count = document.querySelector('.ws-tree-node-badge').innerText; Ferdi.setBadge(count ? Number(count.substring(1, count.length - 1)) : 0); } + Ferdi.loop(getMessages); }; -- cgit v1.2.3-70-g09d2