fix: fix the permission page can not open when initial a new project (#449)

This commit is contained in:
LiuBo
2022-01-25 19:39:04 +08:00
committed by GitHub
parent 12bc419659
commit c87c001da3

View File

@ -596,6 +596,7 @@ export function getTagColor(s) {
export function getTags(tags) { export function getTags(tags) {
let res = []; let res = [];
if (!tags) return res;
tags.forEach((tag, i) => { tags.forEach((tag, i) => {
res.push( res.push(
<Tag color={getTagColor(tag)}> <Tag color={getTagColor(tag)}>