From c87c001da35d8edefead083dd18de385820a00b6 Mon Sep 17 00:00:00 2001 From: LiuBo <283513007@qq.com> Date: Tue, 25 Jan 2022 19:39:04 +0800 Subject: [PATCH] fix: fix the permission page can not open when initial a new project (#449) --- web/src/Setting.js | 1 + 1 file changed, 1 insertion(+) diff --git a/web/src/Setting.js b/web/src/Setting.js index 86b21860..ca2a1e81 100644 --- a/web/src/Setting.js +++ b/web/src/Setting.js @@ -596,6 +596,7 @@ export function getTagColor(s) { export function getTags(tags) { let res = []; + if (!tags) return res; tags.forEach((tag, i) => { res.push(