fix: issue activity estimate value bug fix (#2281)
* fix: issue activity estimate value bug fix * fix: activity typo fix
This commit is contained in:
parent
34af666b5f
commit
60a69e28e3
2 changed files with 18 additions and 3 deletions
|
|
@ -32,7 +32,9 @@ const useEstimateOption = (estimateKey?: number | null) => {
|
|||
);
|
||||
|
||||
const estimateValue: any =
|
||||
(estimateKey && estimateDetails?.points?.find((e) => e.key === estimateKey)?.value) ?? "None";
|
||||
estimateKey || estimateKey === 0
|
||||
? estimateDetails?.points?.find((e) => e.key === estimateKey)?.value
|
||||
: "None";
|
||||
|
||||
return {
|
||||
isEstimateActive: projectDetails?.estimate ? true : false,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue