Skip to content

Commit

Permalink
doubble condition
Browse files Browse the repository at this point in the history
  • Loading branch information
ayalalevinger committed Nov 26, 2021
1 parent 0f266f9 commit ae1f8f7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ export const EditablePanel: FunctionComponent<EditablePanelProps> = ({
</ButtonWrapper>
) : (
<ButtonWrapper hasMargin={options !== undefined && !isSaving}>
{options && !isSaving && options}
{!isSaving && options}
<Button
iconType={iconEdit}
isDisabled={isButtonDisabled || isDisabled}
Expand Down

0 comments on commit ae1f8f7

Please sign in to comment.