Hi
In some cases (depending on data) PercentDone attribute for parent nodes gets miscalculated.
It is most visible when all child nodes are 100% done but parent gets 99.9999999%.
also try to use
* calculatePercentDone() {
// for leaf tasks use "percentDone" field value as-is
const defaultValue = yield * super.calculatePercentDone();
debugger
if (this.percentDone > 99.99) {
return Math.round(this.percentDone);
}
return this.percentDone
// return Math.round(result);
}
but this not helping as its giving 0 for top parent project row.