SwapOrderState.Error
This commit is contained in:
@@ -107,6 +107,7 @@ export const OrderState = {
|
||||
Canceled: 3,
|
||||
Expired: 4,
|
||||
Filled: 5,
|
||||
Error: 99,
|
||||
}
|
||||
|
||||
export function orderIsOpen(order) {
|
||||
|
||||
@@ -75,6 +75,7 @@
|
||||
<v-chip v-if="item.state===OrderState.Expired" prepend-icon="mdi-progress-check" color="grey-darken-1">Expired
|
||||
</v-chip>
|
||||
<v-chip v-if="item.state===OrderState.Underfunded" prepend-icon="mdi-alert" color="warning">Underfunded</v-chip>
|
||||
<v-chip v-if="item.state===OrderState.Error" prepend-icon="mdi-alert" color="error">Error</v-chip>
|
||||
</template>
|
||||
<!-- <template v-slot:item.action="{item}">-->
|
||||
<!-- <btn v-if="item.state===OrderState.Open" icon="mdi-cancel" color="red"-->
|
||||
|
||||
Reference in New Issue
Block a user