Skip to content

Commit

Permalink
fix(order-manager): missing null check (#700)
Browse files Browse the repository at this point in the history
  • Loading branch information
AdrianAndersen authored Sep 6, 2023
1 parent 3ff6edf commit 0149cfe
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ export class OrderManagerListComponent implements OnInit, OnDestroy {
})
);

populatedRows.sort((a, b) => a.name.localeCompare(b.name));
populatedRows.sort((a, b) => a.name?.localeCompare(b.name));
this._databaseExcelService.objectsToExcelFile(populatedRows, "orders");
this.fetching = false;
}
Expand Down

1 comment on commit 0149cfe

@vercel
Copy link

@vercel vercel bot commented on 0149cfe Sep 6, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

bl-admin – ./

bl-admin-boklisten.vercel.app
bl-admin-git-production-boklisten.vercel.app
bladmin.boklisten.no

Please sign in to comment.