Skip to content

Commit

Permalink
fork/EVEREST-931-disable-editing-fields-if-error: conflicts solving
Browse files Browse the repository at this point in the history
  • Loading branch information
solovevayaroslavna committed May 23, 2024
1 parent 2b61db1 commit fe4b4db
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,8 @@ export const DatabasePreview = ({
title={Messages.preview[idx]}
hasBeenReached={longestAchievedStep >= idx || mode === 'edit'}
active={activeStep === idx}
disabled={Object.values(errors).length != 0}
disabled={disabled || Object.values(errors).length != 0}
onEditClick={() => onSectionEdit(idx + 1)}
disabled={disabled}
sx={{
mt: idx === 0 ? 2 : 0,
}}
Expand Down

0 comments on commit fe4b4db

Please sign in to comment.