mirror of
https://github.com/makeplane/plane
synced 2024-06-14 14:31:34 +00:00
fix: estimates bugs (#785)
* fix: dashboard workspace activity mutation * fix: minor bugs
This commit is contained in:
parent
61b9e7a161
commit
f1f716e8f6
@ -337,7 +337,7 @@ export const EstimatePointsModal: React.FC<Props> = ({ isOpen, data, estimate, o
|
||||
<div className="mt-5 flex justify-end gap-2">
|
||||
<SecondaryButton onClick={() => handleClose()}>Cancel</SecondaryButton>
|
||||
<PrimaryButton type="submit" loading={isSubmitting}>
|
||||
{data
|
||||
{data && data.length > 0
|
||||
? isSubmitting
|
||||
? "Updating Points..."
|
||||
: "Update Points"
|
||||
|
@ -107,7 +107,9 @@ export const SingleEstimate: React.FC<Props> = ({
|
||||
</p>
|
||||
</div>
|
||||
<CustomMenu ellipsis>
|
||||
{projectDetails?.estimate !== estimate.id && (
|
||||
{projectDetails?.estimate !== estimate.id &&
|
||||
estimatePoints &&
|
||||
estimatePoints.length > 0 && (
|
||||
<CustomMenu.MenuItem onClick={handleUseEstimate}>
|
||||
<div className="flex items-center justify-start gap-2">
|
||||
<SquaresPlusIcon className="h-3.5 w-3.5" />
|
||||
|
Loading…
Reference in New Issue
Block a user