mirror of
https://github.com/mastodon/mastodon.git
synced 2026-08-19 23:55:45 -05:00
Make description optional in collection editor (#38536)
This commit is contained in:
@@ -16,7 +16,7 @@ export interface ApiCollectionJSON {
|
||||
item_count: number;
|
||||
|
||||
name: string;
|
||||
description: string;
|
||||
description: string | null;
|
||||
tag: ApiTagJSON | null;
|
||||
language: string | null;
|
||||
sensitive: boolean;
|
||||
|
||||
@@ -182,7 +182,7 @@ export const CollectionDetails: React.FC = () => {
|
||||
/>
|
||||
|
||||
<TextAreaField
|
||||
required
|
||||
required={false}
|
||||
label={
|
||||
<FormattedMessage
|
||||
id='collections.collection_description'
|
||||
|
||||
Reference in New Issue
Block a user