mirror of
https://dev.azure.com/hugendubel/ISA/_git/ISA-Frontend
synced 2025-12-28 22:42:11 +01:00
Merged PR 835: #2185 WE Zubuchen Button falscher CompartmentCode
#2185 WE Zubuchen Button falscher CompartmentCode Related work items: #2185
This commit is contained in:
committed by
Nino Righi
parent
df3340afef
commit
870b60320f
@@ -72,7 +72,7 @@ export class SharedGoodsInOutOrderDetailsCoversComponent extends ComponentStore<
|
||||
(orderItems) =>
|
||||
orderItems
|
||||
?.filter((a) => !!a.readyForPickUp)
|
||||
?.sort((a, b) => +b.readyForPickUp - +a.readyForPickUp)
|
||||
?.sort((a, b) => new Date(b.readyForPickUp).getTime() - new Date(a.readyForPickUp).getTime())
|
||||
?.find((_) => true)?.compartmentCode
|
||||
)
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user