#821 add default category for package detail (#622)

This commit is contained in:
Neil 2023-05-25 20:03:50 +08:00 committed by GitHub
parent 12b6e1f33d
commit 8ac8e20c9c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -68,7 +68,7 @@
<a class="hover:text-white hover:opacity-80" href="/">{$t("common.home")}</a>
<a class="hover:text-white hover:opacity-80" href="/?tab={tab || 'discover'}"
>{$t(`tags.${tab}`).toLowerCase() || "discover"}</a
>{tab ? $t(`tags.${tab}`).toLowerCase() : "discover"}</a
>
<span class="text-white">{pkg?.full_name}</span>