Skip to content

Commit

Permalink
Remove obsolete check from dataviews modal actions title (#57753)
Browse files Browse the repository at this point in the history
  • Loading branch information
ntsekouras authored Jan 11, 2024
1 parent beb1032 commit d867680
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions packages/dataviews/src/item-actions.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,7 @@ function ActionWithModal( { action, item, ActionTrigger } ) {
<ActionTrigger { ...actionTriggerProps } />
{ isModalOpen && (
<Modal
title={
( ! hideModalHeader && action.modalHeader ) ||
action.label
}
title={ action.modalHeader || action.label }
__experimentalHideHeader={ !! hideModalHeader }
onRequestClose={ () => {
setIsModalOpen( false );
Expand Down

0 comments on commit d867680

Please sign in to comment.