Skip to content

Commit

Permalink
HOTFIX: filter out match orders from the order manager
Browse files Browse the repository at this point in the history
  • Loading branch information
AdrianAndersen committed Aug 23, 2023
1 parent 74ae68a commit e847bbf
Showing 1 changed file with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,16 @@ export class OrderManagerListComponent implements OnInit, OnDestroy {
this.tempPlacedOrders = orders;
this.filterOnlyCurrentBranch();
this.filterNewestFirst();
this.placedOrders = this.placedOrders.filter(
(order) =>
!order.orderItems.some(
(orderItem) =>
// @ts-ignore
orderItem.type === "match-deliver" ||
// @ts-ignore
orderItem.type === "match-receive"
)
);

setTimeout(() => {
this.fetching = false;
Expand Down

0 comments on commit e847bbf

Please sign in to comment.