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 9826192 commit c4f8aacCopy full SHA for c4f8aac
src/js/components/notification.js
@@ -17,6 +17,9 @@ var Notification = React.createClass({
17
18
openBrowser: function () {
19
var url = this.props.notification.subject.url.replace('api.github.com/repos', 'www.github.com');
20
+ if (url.indexOf("/pulls/") != -1) {
21
+ url = url.replace("/pulls/", "/pull/")
22
+ }
23
shell.openExternal(url);
24
},
25
0 commit comments