Skip to content

Commit

Permalink
chore: updated removed issues length check on estimate delete
Browse files Browse the repository at this point in the history
  • Loading branch information
gurusainath committed Jun 18, 2024
1 parent 5ab1872 commit 5b02fbe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/core/store/estimates/estimate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ export class Estimate implements IEstimate {
);

const currentIssues = Object.values(this.store.issue.issues.issuesMap || {});
if (currentIssues && currentIssues.length > 0) {
if (currentIssues) {
currentIssues.map((issue) => {
if (issue.estimate_point === estimatePointId) {
this.store.issue.issues.updateIssue(issue.id, { estimate_point: newEstimatePointId });
Expand Down

0 comments on commit 5b02fbe

Please sign in to comment.