kopia lustrzana https://gitlab.com/soapbox-pub/soapbox
Add back 'uses' attribute for specific use-case
rodzic
f8d31aa505
commit
ad6f237a9d
|
@ -137,7 +137,7 @@ const GroupTagListItem = (props: IGroupMemberListItem) => {
|
|||
{intl.formatMessage(messages.total)}:
|
||||
{' '}
|
||||
<Text size='sm' theme='inherit' weight='semibold' tag='span'>
|
||||
{shortNumberFormat(tag.groups)}
|
||||
{shortNumberFormat(tag.uses)}
|
||||
</Text>
|
||||
</Text>
|
||||
</Stack>
|
||||
|
|
|
@ -5,6 +5,7 @@ const groupTagSchema = z.object({
|
|||
name: z.string(),
|
||||
groups: z.number().optional(),
|
||||
url: z.string().optional(),
|
||||
uses: z.number().optional(),
|
||||
pinned: z.boolean().optional().catch(false),
|
||||
visible: z.boolean().optional().default(true),
|
||||
});
|
||||
|
|
Ładowanie…
Reference in New Issue