[Glitch] Make description optional in collection editor

Port caf7c214537e5bd3a13a08a6f47efdfa93938ef5 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
This commit is contained in:
diondiondion 2026-04-02 15:32:53 +02:00 committed by Claire
parent b43005ac12
commit 6b8b43b3f1
2 changed files with 2 additions and 2 deletions

View File

@ -16,7 +16,7 @@ export interface ApiCollectionJSON {
item_count: number; item_count: number;
name: string; name: string;
description: string; description: string | null;
tag: ApiTagJSON | null; tag: ApiTagJSON | null;
language: string | null; language: string | null;
sensitive: boolean; sensitive: boolean;

View File

@ -182,7 +182,7 @@ export const CollectionDetails: React.FC = () => {
/> />
<TextAreaField <TextAreaField
required required={false}
label={ label={
<FormattedMessage <FormattedMessage
id='collections.collection_description' id='collections.collection_description'