mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-03-11 02:12:21 -05:00
Made recommendation modals footer sticky
no refs
This commit is contained in:
parent
08e4593093
commit
9a45b0b785
2 changed files with 2 additions and 0 deletions
|
@ -96,6 +96,7 @@ const AddRecommendationModalConfirm: React.FC<AddRecommendationModalProps> = ({r
|
|||
size='sm'
|
||||
testId='add-recommendation-modal'
|
||||
title={'Add recommendation'}
|
||||
stickyFooter
|
||||
onCancel={() => {
|
||||
if (saveState === 'saving') {
|
||||
// Already saving
|
||||
|
|
|
@ -102,6 +102,7 @@ const EditRecommendationModal: React.FC<RoutingModalProps & EditRecommendationMo
|
|||
size='sm'
|
||||
testId='edit-recommendation-modal'
|
||||
title={'Edit recommendation'}
|
||||
stickyFooter
|
||||
onOk={async () => {
|
||||
if (saveState === 'saving') {
|
||||
// Already saving
|
||||
|
|
Loading…
Add table
Reference in a new issue