Skip to content

Commit

Permalink
fix: Make sure code does not incorporate code from unmerged PR
Browse files Browse the repository at this point in the history
There was some Javascript snippet that belonged to the previous PR I sent,
which has not been accepted yet.

Fixes: nothing
  • Loading branch information
steinwinde committed Feb 16, 2025
1 parent 49a241d commit e633985
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,6 @@ export class GlAccountTreeService {
new GLAccountNode(this.translateService.instant('labels.inputs.accounting.LIABILITY'))
);

if(glAccountData.length === 0) {
return glAccountTree;
}

// Sort by parent id (so that child nodes can be added properly)
if (!glAccountData[0].parentId) {
glAccountData[0].parentId = 0;
Expand Down

0 comments on commit e633985

Please sign in to comment.