From 7517a409a1a502c747eb4598492a88cec4e8d58c Mon Sep 17 00:00:00 2001 From: Vijay A Date: Sun, 19 Sep 2021 07:26:25 +0530 Subject: fix: fix js error; styling --- recipes/youtrack/package.json | 2 +- recipes/youtrack/webview.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'recipes/youtrack') diff --git a/recipes/youtrack/package.json b/recipes/youtrack/package.json index fe51ad3..f31b70d 100644 --- a/recipes/youtrack/package.json +++ b/recipes/youtrack/package.json @@ -1,7 +1,7 @@ { "id": "youtrack", "name": "YouTrack", - "version": "1.2.0", + "version": "1.2.1", "license": "MIT", "config": { "serviceURL": "https://{teamId}.myjetbrains.com/youtrack/", diff --git a/recipes/youtrack/webview.js b/recipes/youtrack/webview.js index 071b300..286046a 100644 --- a/recipes/youtrack/webview.js +++ b/recipes/youtrack/webview.js @@ -1,5 +1,5 @@ module.exports = Ferdi => { - const getMessages = function getMessages() { + const getMessages = () => { const unread = document.querySelectorAll('.header__bell-wrapper_unread'); Ferdi.setBadge(unread.length > 0 ? 1 : 0); }; -- cgit v1.2.3-54-g00ecf