Skip to content

Commit

Permalink
Update index.js
Browse files Browse the repository at this point in the history
  • Loading branch information
mtdkei authored Apr 1, 2024
1 parent d10822e commit 693b673
Showing 1 changed file with 2 additions and 11 deletions.
13 changes: 2 additions & 11 deletions src/components/display-items-control/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,6 @@ export const DisplayItemsControl = (props) => {
setAttributes({ display_image: checked })
}
/>
<CheckboxControl
label={__("Term's name on Image", 'vk-blocks-pro')}
checked={display_image_overlay_term} //eslint-disable-line camelcase
onChange={(checked) =>
setAttributes({ display_image_overlay_term: checked })
}
/>
{/* 「子ページリスト」ブロックの場合、画像右上分類名を表示しない */}
{!isChildPageList && (
<CheckboxControl
Expand Down Expand Up @@ -85,10 +78,8 @@ export const DisplayItemsControl = (props) => {
{!isChildPageList && (
<CheckboxControl
label={__('Taxonomies (all)', 'vk-blocks-pro')}
checked={display_taxonomies}
onChange={(checked) =>
setAttributes({ display_taxonomies: checked })
}
checked={display_taxonomies} //eslint-disable-line camelcase
onChange={(checked) =>setAttributes({ display_taxonomies: checked })}
/>
)}
<CheckboxControl
Expand Down

0 comments on commit 693b673

Please sign in to comment.