mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-24 14:43:08 +03:00
Removed backdrop click on modals
refs https://github.com/TryGhost/Product/issues/3828
This commit is contained in:
parent
448e91d916
commit
712da704f7
@ -91,6 +91,7 @@ const AddRecommendationModal: React.FC<AddRecommendationModalProps> = ({recommen
|
||||
updateRoute('recommendations');
|
||||
}}
|
||||
animate={animate ?? true}
|
||||
backDropClick={false}
|
||||
okColor='black'
|
||||
okLabel={okLabel}
|
||||
size='sm'
|
||||
|
@ -72,6 +72,7 @@ const AddRecommendationModalConfirm: React.FC<AddRecommendationModalProps> = ({r
|
||||
updateRoute('recommendations');
|
||||
}}
|
||||
animate={animate ?? true}
|
||||
backDropClick={false}
|
||||
cancelLabel={'Cancel'}
|
||||
dirty={true}
|
||||
leftButtonProps={leftButtonProps}
|
||||
|
@ -51,6 +51,7 @@ const EditRecommendationModalConfirm: React.FC<AddRecommendationModalProps> = ({
|
||||
updateRoute('recommendations');
|
||||
}}
|
||||
animate={animate ?? true}
|
||||
backDropClick={false}
|
||||
cancelLabel={'Cancel'}
|
||||
okColor='black'
|
||||
okLabel={okLabel}
|
||||
|
Loading…
Reference in New Issue
Block a user