Skip to content

Commit 41d45d5

Browse files
committed
fix: put back index file icon
1 parent 830fb8f commit 41d45d5

File tree

1 file changed

+3
-1
lines changed
  • packages/decap-cms-core/src/components/Collection/Entries

1 file changed

+3
-1
lines changed

packages/decap-cms-core/src/components/Collection/Entries/EntryCard.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import React from 'react';
22
import styled from '@emotion/styled';
33
import { connect } from 'react-redux';
44
import { Link } from 'react-router-dom';
5-
import { colors, colorsRaw, components, lengths, zIndex } from 'decap-cms-ui-default';
5+
import { colors, colorsRaw, components, lengths, zIndex, Icon } from 'decap-cms-ui-default';
66
import { translate } from 'react-polyglot';
77

88
import { boundGetAsset } from '../../../actions/media';
@@ -164,6 +164,7 @@ function EntryCard({
164164
<ListCardTitle>
165165
{summary}
166166
<TitleIcons>
167+
{showIndexFileIcon && <Icon type="home" />}
167168
{workflowStatus && (
168169
<WorkflowBadge status={workflowStatus}>
169170
{getStatusLabel(workflowStatus)}
@@ -185,6 +186,7 @@ function EntryCard({
185186
<CardHeading>
186187
{summary}
187188
<TitleIcons>
189+
{showIndexFileIcon && <Icon type="home" />}
188190
{workflowStatus && (
189191
<WorkflowBadge status={workflowStatus}>
190192
{getStatusLabel(workflowStatus)}

0 commit comments

Comments
 (0)