Unify order of more services (#3358)

Ref #3353
This commit is contained in:
Paul Melnikow
2019-04-24 15:08:26 -04:00
committed by GitHub
parent 1dd8d1329c
commit f8aeb56129
76 changed files with 1298 additions and 1308 deletions

View File

@@ -25,13 +25,6 @@ module.exports = class GithubIssues extends GithubAuthService {
return 'issue-tracking'
}
static get defaultBadgeData() {
return {
label: 'issues',
color: 'informational',
}
}
static get route() {
return {
base: 'github',
@@ -223,6 +216,13 @@ module.exports = class GithubIssues extends GithubAuthService {
]
}
static get defaultBadgeData() {
return {
label: 'issues',
color: 'informational',
}
}
static render({ which, numIssues, raw, label }) {
const state = isWhichClosed[which] ? 'closed' : 'open'