mirror of
https://github.com/strapi/strapi.git
synced 2025-12-27 23:24:03 +00:00
Merge pull request #15733 from strapi/fix/market-cf-link
Point CTB to the marketplace custom field category
This commit is contained in:
commit
7ab5789794
@ -1,6 +1,7 @@
|
||||
import React from 'react';
|
||||
import styled from 'styled-components';
|
||||
import { useIntl } from 'react-intl';
|
||||
import qs from 'qs';
|
||||
import { Box } from '@strapi/design-system/Box';
|
||||
import { Flex } from '@strapi/design-system/Flex';
|
||||
import { Typography } from '@strapi/design-system/Typography';
|
||||
@ -62,7 +63,11 @@ const EmptyAttributes = () => {
|
||||
</Box>
|
||||
</Box>
|
||||
</Box>
|
||||
<LinkButton to="/marketplace" variant="secondary" startIcon={<Plus />}>
|
||||
<LinkButton
|
||||
to={`/marketplace?${qs.stringify({ categories: ['Custom fields'] })}`}
|
||||
variant="secondary"
|
||||
startIcon={<Plus />}
|
||||
>
|
||||
{formatMessage({
|
||||
id: getTrad('modalForm.empty.button'),
|
||||
defaultMessage: 'Add custom fields',
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user