diff options
Diffstat (limited to 'src/webview/lib')
-rw-r--r-- | src/webview/lib/RecipeWebview.js | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/webview/lib/RecipeWebview.js b/src/webview/lib/RecipeWebview.js index 2bd6bad8d..157da7693 100644 --- a/src/webview/lib/RecipeWebview.js +++ b/src/webview/lib/RecipeWebview.js | |||
@@ -35,12 +35,12 @@ class RecipeWebview { | |||
35 | /** | 35 | /** |
36 | * Set the unread message badge | 36 | * Set the unread message badge |
37 | * | 37 | * |
38 | * @param {int} direct Set the count of direct messages | 38 | * @param {string | number | undefined | null} direct Set the count of direct messages |
39 | * eg. Slack direct mentions, or a | 39 | * eg. Slack direct mentions, or a |
40 | * message to @channel | 40 | * message to @channel |
41 | * @param {int} indirect Set a badge that defines there are | 41 | * @param {string | number | undefined | null} indirect Set a badge that defines there are |
42 | * new messages but they do not involve | 42 | * new messages but they do not involve |
43 | * me directly to me eg. in a channel | 43 | * me directly to me eg. in a channel |
44 | */ | 44 | */ |
45 | setBadge(direct = 0, indirect = 0) { | 45 | setBadge(direct = 0, indirect = 0) { |
46 | this.badgeHandler.setBadge(direct, indirect); | 46 | this.badgeHandler.setBadge(direct, indirect); |