fix: do not show edit/cancel buttons on order partially filled (#1150)

This commit is contained in:
m.ray 2022-08-25 13:50:25 +01:00 committed by GitHub
parent 1d58844dcc
commit e9019c04f7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -320,6 +320,7 @@ const isOrderActive = (status: OrderStatus) => {
OrderStatus.STATUS_EXPIRED,
OrderStatus.STATUS_FILLED,
OrderStatus.STATUS_STOPPED,
OrderStatus.STATUS_PARTIALLY_FILLED,
].includes(status);
};