docs: update github issue (#4151)

This commit is contained in:
hoilc
2020-03-03 00:22:49 +08:00
committed by GitHub
parent bfa4c9794b
commit 61cfa78c3a
3 changed files with 3 additions and 3 deletions

View File

@@ -32,7 +32,7 @@ module.exports = async (ctx) => {
ctx.state.data = {
allowEmpty: true,
title: `${user}/${repo} Issues`,
title: `${user}/${repo}${state ? ' ' + state.replace(/^\S/, (s) => s.toUpperCase()) : ''} Issues${labels ? ' - ' + labels : ''}`,
link: host,
item: data
.filter((item) => item.pull_request === undefined)