[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:
parent
b43005ac12
commit
6b8b43b3f1
@ -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;
|
||||||
|
|||||||
@ -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'
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user