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/dialpad/package.json | 2 +- recipes/dialpad/webview.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'recipes/dialpad') diff --git a/recipes/dialpad/package.json b/recipes/dialpad/package.json index d2a97d2..14ca8e3 100644 --- a/recipes/dialpad/package.json +++ b/recipes/dialpad/package.json @@ -1,7 +1,7 @@ { "id": "dialpad", "name": "Dialpad", - "version": "1.0.0", + "version": "1.0.1", "license": "MIT", "repository": "https://github.com/TheKevJames/franz-recipe-dialpad", "config": { diff --git a/recipes/dialpad/webview.js b/recipes/dialpad/webview.js index 2bf23f3..a5c6e4a 100644 --- a/recipes/dialpad/webview.js +++ b/recipes/dialpad/webview.js @@ -3,7 +3,7 @@ const _path = _interopRequireDefault(require('path')); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } module.exports = (Ferdi) => { - function getMessages() { + const getMessages = () => { var unreadCount = 0; $.each($('[data-qa-has-unreads]'), (idx, item) => unreadCount += Ferdi.safeParseInt(item.attributes["data-qa-has-unreads"].value)); -- cgit v1.2.3-70-g09d2