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 4de4f14 commit 929cc09Copy full SHA for 929cc09
src/js/utils/notifications.js
@@ -1,3 +1,5 @@
1
+const { remote } = require('electron');
2
+
3
import { reOpenWindow, openExternalLink } from '../utils/comms';
4
import { generateGitHubWebUrl } from '../utils/helpers';
5
@@ -55,7 +57,10 @@ export default {
55
57
56
58
nativeNotification.onclick = function() {
59
if (count === 1) {
60
+ const appWindow = remote.getCurrentWindow();
61
const url = generateGitHubWebUrl(notificationUrl);
62
63
+ appWindow.hide();
64
openExternalLink(url);
65
} else {
66
reOpenWindow();
0 commit comments