Add back 'uses' attribute for specific use-case
This commit is contained in:
@ -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),
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user