Skip to content

Commit

Permalink
Don't require a minimum bio length in order to show modal; this fixes…
Browse files Browse the repository at this point in the history
… missing modals in map (#902)

Signed-off-by: Chris Abraham <[email protected]>
  • Loading branch information
cjyabraham committed Nov 19, 2024
1 parent adff667 commit 52e2708
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
$content = get_the_content();
$current_url = home_url( 'people/ambassadors' );

$show_modal = isset( $args['show_profile'] ) && ( $args['show_profile'] && strlen( $content ) > 20 ) ? true : false;
$show_modal = isset( $args['show_profile'] ) && $args['show_profile'] ? true : false;
$show_logos = isset( $args['show_logos'] ) && $args['show_logos'] ? true : false;
?>
<div class="person has-animation-scale-2">
Expand Down

0 comments on commit 52e2708

Please sign in to comment.