1
0

fix empty state for projects in "All" tab (#4801)

Co-authored-by: Prospector <6166773+Prospector@users.noreply.github.com>
This commit is contained in:
Truman Gao
2025-11-22 18:38:13 -08:00
committed by GitHub
parent bcf14a4c51
commit f333a75221

View File

@@ -304,7 +304,13 @@
/>
</div>
</div>
<div v-else-if="route.params.projectType !== 'collections'" class="error">
<div
v-else-if="
(route.params.projectType && route.params.projectType !== 'collections') ||
(!route.params.projectType && collections.length === 0)
"
class="error"
>
<UpToDate class="icon" />
<br />
<span v-if="auth.user && auth.user.id === user.id" class="preserve-lines text">