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/mattermost/package.json | 2 +- recipes/mattermost/webview.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'recipes/mattermost') diff --git a/recipes/mattermost/package.json b/recipes/mattermost/package.json index befe718..c9e6c16 100644 --- a/recipes/mattermost/package.json +++ b/recipes/mattermost/package.json @@ -1,7 +1,7 @@ { "id": "mattermost", "name": "Mattermost", - "version": "1.3.0", + "version": "1.3.1", "license": "MIT", "config": { "hasNotificationSound": true, diff --git a/recipes/mattermost/webview.js b/recipes/mattermost/webview.js index 88d1b80..179a43a 100644 --- a/recipes/mattermost/webview.js +++ b/recipes/mattermost/webview.js @@ -5,7 +5,7 @@ module.exports = Ferdi => { const ALL_MESSAGES = '#sidebar-left .unread-title'; const ALL_MESSAGES_LEGACY = '#sidebar-left .unread-title'; - const getMessages = function getMessages() { + const getMessages = () => { const directMessagesSelector = [DIRECT_MESSAGES_LEGACY, DIRECT_MESSAGES_INDIVIDUAL, DIRECT_MESSAGES_GROUP].join(', '); const directMessages = document.querySelectorAll(directMessagesSelector).length; -- cgit v1.2.3-54-g00ecf