We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent add43ba commit 377f08aCopy full SHA for 377f08a
app/renderer/js/components/webview.ts
@@ -184,7 +184,7 @@ export default class WebView {
184
}
185
186
getBadgeCount(title: string): number {
187
- const messageCountInTitle = /\((\d+)\)/.exec(title);
+ const messageCountInTitle = /^\((\d+)\)/.exec(title);
188
return messageCountInTitle ? Number(messageCountInTitle[1]) : 0;
189
190
0 commit comments