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 5364d3f commit 2ad702cCopy full SHA for 2ad702c
src/js/components/notification.js
@@ -1,9 +1,7 @@
1
var React = require('react');
2
var remote = window.require('remote');
3
var shell = remote.require('shell');
4
-var _ = require('underscore');
5
6
-var AuthStore = require('../stores/auth');
7
var apiRequests = require('../utils/api-requests');
8
9
var Notification = React.createClass({
@@ -49,6 +47,8 @@ var Notification = React.createClass({
49
47
typeIconClass = 'octicon octicon-issue-opened';
50
48
} else if (this.props.notification.subject.type == 'PullRequest') {
51
typeIconClass = 'octicon octicon-git-pull-request';
+ } else if (this.props.notification.subject.type == 'Commit') {
+ typeIconClass = 'octicon octicon-git-commit';
52
} else {
53
typeIconClass = 'octicon octicon-question';
54
}
0 commit comments