mirror of
https://github.com/makeplane/plane
synced 2024-06-14 14:31:34 +00:00
chore: handled close button in estimate edit
This commit is contained in:
parent
e6fa881721
commit
430330bce7
@ -69,14 +69,16 @@ export const UpdateEstimateModal: FC<TUpdateEstimateModal> = observer((props) =>
|
|||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{estimateEditType === EEstimateUpdateStages.SWITCH && (
|
{[EEstimateUpdateStages.SWITCH, undefined].includes(estimateEditType) && (
|
||||||
<div className="relative flex justify-end items-center gap-3 px-5 pt-5 border-t border-custom-border-100">
|
<div className="relative flex justify-end items-center gap-3 px-5 pt-5 border-t border-custom-border-100">
|
||||||
<Button variant="neutral-primary" size="sm" onClick={handleClose}>
|
<Button variant="neutral-primary" size="sm" onClick={handleClose}>
|
||||||
Cancel
|
Cancel
|
||||||
</Button>
|
</Button>
|
||||||
<Button variant="primary" size="sm" onClick={handleSwitchEstimate}>
|
{estimateEditType === EEstimateUpdateStages.SWITCH && (
|
||||||
Update
|
<Button variant="primary" size="sm" onClick={handleSwitchEstimate}>
|
||||||
</Button>
|
Update
|
||||||
|
</Button>
|
||||||
|
)}
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user