Skip to content

Commit

Permalink
hide lat/long heading from event post type
Browse files Browse the repository at this point in the history
  • Loading branch information
jmarx committed Nov 3, 2024
1 parent ac7ef12 commit ff589c1
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion build/blocks/venue/index.asset.php
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<?php return array('dependencies' => array('moment', 'react', 'react-jsx-runtime', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-date', 'wp-element', 'wp-i18n'), 'version' => '2f49f9baf258110fbb88');
<?php return array('dependencies' => array('moment', 'react', 'react-jsx-runtime', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-date', 'wp-element', 'wp-i18n'), 'version' => 'ea86a16483f1da068568');
2 changes: 1 addition & 1 deletion build/blocks/venue/index.js

Large diffs are not rendered by default.

8 changes: 5 additions & 3 deletions src/blocks/venue/edit.js
Original file line number Diff line number Diff line change
Expand Up @@ -254,9 +254,11 @@ const Edit = ({ attributes, setAttributes, isSelected }) => {
min={100}
max={1000}
/>
<PanelRow>
{__('Latitude / Longitude', 'gatherpress')}
</PanelRow>
{isVenuePostType() && (
<PanelRow>
{__('Latitude / Longitude', 'gatherpress')}
</PanelRow>
)}
{isVenuePostType() && (
<PanelRow>
<ToggleControl
Expand Down

0 comments on commit ff589c1

Please sign in to comment.