fix: 允许github issue列表为空 (#3222)

This commit is contained in:
hoilc
2019-10-10 12:08:21 +08:00
committed by DIYgod
parent 6d4ad2c870
commit 54d5cd9fc4

View File

@@ -22,6 +22,7 @@ module.exports = async (ctx) => {
const data = response.data; const data = response.data;
ctx.state.data = { ctx.state.data = {
allowEmpty: true,
title: `${user}/${repo} Issues`, title: `${user}/${repo} Issues`,
link: host, link: host,
item: data item: data