Skip to content

Commit

Permalink
Site Editor: Templat list fallback to slug
Browse files Browse the repository at this point in the history
  • Loading branch information
Mamaduka committed Nov 29, 2021
1 parent 14612c9 commit 36767e7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/edit-site/src/components/list/table.js
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,8 @@ export default function Table( { templateType } ) {
postType: template.type,
} ) }
>
{ template.title.rendered }
{ template.title?.rendered ||
template.slug }
</a>
</Heading>
{ template.description }
Expand Down

0 comments on commit 36767e7

Please sign in to comment.