Skip to content

Commit

Permalink
Updated configure the view icon in the edit view
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasboilly committed May 7, 2024
1 parent 17b4116 commit 5ba60ea
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import {
useQueryParams,
} from '@strapi/admin/strapi-admin';
import { Flex, SingleSelect, SingleSelectOption, Typography } from '@strapi/design-system';
import { Cog, Pencil, Trash, WarningCircle } from '@strapi/icons';
import { ListPlus, Pencil, Trash, WarningCircle } from '@strapi/icons';
import { useIntl } from 'react-intl';
import { useMatch, useNavigate } from 'react-router-dom';
import styled from 'styled-components';
Expand Down Expand Up @@ -376,7 +376,7 @@ const ConfigureTheViewAction: DocumentActionComponent = ({ collectionType, model
id: 'app.links.configure-view',
defaultMessage: 'Configure the view',
}),
icon: <StyledCog />,
icon: <StyledListPlus />,
onClick: () => {
navigate(`../${collectionType}/${model}/configurations/edit`);
},
Expand All @@ -390,7 +390,7 @@ ConfigureTheViewAction.type = 'configure-the-view';
* Because the icon system is completely broken, we have to do
* this to remove the fill from the cog.
*/
const StyledCog = styled(Cog)`
const StyledListPlus = styled(ListPlus)`
path {
fill: currentColor;
}
Expand Down

0 comments on commit 5ba60ea

Please sign in to comment.