summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--CHANGELOG.md1
-rw-r--r--gui/src/renderer/app.tsx4
2 files changed, 3 insertions, 2 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index dcbb34ae9c..036e26c16e 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -48,6 +48,7 @@ Line wrap the file at 100 chars. Th
- Fix incorrect WireGuard relay filtering when exit and entry locations overlap.
- Fix wrong translations when switching to/from unpinned window after changing language in the
desktop app.
+- Fix in-app notification button not working for some notifications.
#### Linux
- Make offline monitor aware of routing table changes.
diff --git a/gui/src/renderer/app.tsx b/gui/src/renderer/app.tsx
index 49c4129112..277227eac7 100644
--- a/gui/src/renderer/app.tsx
+++ b/gui/src/renderer/app.tsx
@@ -361,7 +361,7 @@ export default class AppRenderer {
return IpcRendererEventChannel.accountHistory.clear();
}
- public async openLinkWithAuth(link: string): Promise<void> {
+ public openLinkWithAuth = async (link: string): Promise<void> => {
let token = '';
try {
token = await IpcRendererEventChannel.account.getWwwAuthToken();
@@ -369,7 +369,7 @@ export default class AppRenderer {
log.error(`Failed to get the WWW auth token: ${e.message}`);
}
void this.openUrl(`${link}?token=${token}`);
- }
+ };
public async setAllowLan(allowLan: boolean) {
const actions = this.reduxActions;