diff --git a/frontend_nuxt/components/ArticleCategory.vue b/frontend_nuxt/components/ArticleCategory.vue
index bfae92c90..f1b445a04 100644
--- a/frontend_nuxt/components/ArticleCategory.vue
+++ b/frontend_nuxt/components/ArticleCategory.vue
@@ -2,11 +2,12 @@
@@ -22,6 +23,11 @@ const gotoCategory = async () => {
const value = encodeURIComponent(props.category.id ?? props.category.name)
await navigateTo({ path: '/', query: { category: value } }, { replace: true })
}
+
+const isImageIcon = (icon) => {
+ if (!icon) return false
+ return /^https?:\/\//.test(icon) || icon.startsWith('/')
+}