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/rocketchat/package.json | 2 +- recipes/rocketchat/webview.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'recipes/rocketchat') diff --git a/recipes/rocketchat/package.json b/recipes/rocketchat/package.json index f2c6374..2bf5722 100644 --- a/recipes/rocketchat/package.json +++ b/recipes/rocketchat/package.json @@ -1,7 +1,7 @@ { "id": "rocketchat", "name": "Rocket.Chat", - "version": "1.2.1", + "version": "1.2.2", "license": "MIT", "config": { "serviceURL": "https://{teamId}.rocket.chat", diff --git a/recipes/rocketchat/webview.js b/recipes/rocketchat/webview.js index 159adea..24d784a 100644 --- a/recipes/rocketchat/webview.js +++ b/recipes/rocketchat/webview.js @@ -1,6 +1,6 @@ module.exports = Ferdi => { - const getMessages = function getMessages() { + const getMessages = () => { const directMessages = document.querySelectorAll('.rcx-badge'); let directMessagesCount = 0; -- cgit v1.2.3-70-g09d2