Skip to content

Commit 95da6b1

Browse files
author
Yang Zhen
committed
Fix no project error
1 parent 048ca39 commit 95da6b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/components/Tab/WelcomePage.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ class WelcomePage extends Component {
8181
const recentList = []
8282
res.contents.forEach((ws) => {
8383
let name = ''
84-
if (ws.defaultWorkspace) {
84+
if (ws.defaultWorkspace || !ws.project) {
8585
name = 'Default'
8686
} else {
8787
name = `${ws.project.ownerName}/${ws.project.name}`

0 commit comments

Comments
 (0)