Skip to content

Commit

Permalink
show taxonomy label
Browse files Browse the repository at this point in the history
  • Loading branch information
torounit committed May 20, 2022
1 parent 41c726b commit f1298d0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/editor/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ interface Term {

interface Taxonomy {
slug: string;
name: string;
description: string;
}

interface Props {
Expand All @@ -41,7 +43,7 @@ const ControlUI = ( { taxonomies, terms, currentPostType }: Props ) => {
terms[ taxonomy.slug ]?.map( ( term ) => (
<div key={ term.id }>
<h4>
{ taxonomy.slug }: { term.name }
{ taxonomy.name }: { term.name }
</h4>
<DatetimeControl
label={ __( 'Attach', 'schedule-terms' ) }
Expand Down

0 comments on commit f1298d0

Please sign in to comment.