diff --git a/src/components/article/boxes/ArticleViewName.jsx b/src/components/article/boxes/ArticleViewName.jsx index b6536ad..56feefa 100644 --- a/src/components/article/boxes/ArticleViewName.jsx +++ b/src/components/article/boxes/ArticleViewName.jsx @@ -106,13 +106,24 @@ export default function ArticleViewName({ article: articleData, categories, root )} renderEdit={(draft, onChange, inputRef) => ( - onChange({ name })} - sx={articleNameFieldSx} - /> + + + onChange({ name })} + sx={articleNameFieldSx} + /> + + {categoryLabels.length > 0 && ( + + {categoryLabels.map(({ id, label }) => ( + + ))} + + )} + )} /> );