fix add_news command in admin.py
All checks were successful
Build the docker image for the API / build (push) Successful in 10s
Build the docker image for the frontend application / build (push) Successful in 27s
Build the docker image for the doc server / build (push) Successful in 7s

Signed-off-by: ngn <ngn@ngn.tf>
This commit is contained in:
ngn
2025-01-20 09:38:31 +03:00
parent 1c99aee43d
commit 392b554eb9
2 changed files with 4 additions and 4 deletions

View File

@ -86,7 +86,7 @@
<span>
{$_("home.projects.desc")}:
</span>
{#if data.error === undefined}
{#if data.error.length === 0}
<ul>
{#each data.projects.filter((p) => {
return p.desc[$locale] !== "" && p.desc[$locale] !== null && p.desc[$locale] !== undefined;