mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-28 14:03:48 +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');
|
updateRoute('recommendations');
|
||||||
}}
|
}}
|
||||||
animate={animate ?? true}
|
animate={animate ?? true}
|
||||||
|
backDropClick={false}
|
||||||
okColor='black'
|
okColor='black'
|
||||||
okLabel={okLabel}
|
okLabel={okLabel}
|
||||||
size='sm'
|
size='sm'
|
||||||
|
@ -72,6 +72,7 @@ const AddRecommendationModalConfirm: React.FC<AddRecommendationModalProps> = ({r
|
|||||||
updateRoute('recommendations');
|
updateRoute('recommendations');
|
||||||
}}
|
}}
|
||||||
animate={animate ?? true}
|
animate={animate ?? true}
|
||||||
|
backDropClick={false}
|
||||||
cancelLabel={'Cancel'}
|
cancelLabel={'Cancel'}
|
||||||
dirty={true}
|
dirty={true}
|
||||||
leftButtonProps={leftButtonProps}
|
leftButtonProps={leftButtonProps}
|
||||||
|
@ -51,6 +51,7 @@ const EditRecommendationModalConfirm: React.FC<AddRecommendationModalProps> = ({
|
|||||||
updateRoute('recommendations');
|
updateRoute('recommendations');
|
||||||
}}
|
}}
|
||||||
animate={animate ?? true}
|
animate={animate ?? true}
|
||||||
|
backDropClick={false}
|
||||||
cancelLabel={'Cancel'}
|
cancelLabel={'Cancel'}
|
||||||
okColor='black'
|
okColor='black'
|
||||||
okLabel={okLabel}
|
okLabel={okLabel}
|
||||||
|
Loading…
Reference in New Issue
Block a user