order status click row to select
This commit is contained in:
@@ -165,7 +165,7 @@
|
||||
<script setup>
|
||||
import LinePrice from "@/components/LinePrice.vue";
|
||||
import {useStore} from "@/store/store";
|
||||
import {computed, defineAsyncComponent, onUnmounted, ref, watch} from "vue";
|
||||
import {computed, defineAsyncComponent, onMounted, onUnmounted, ref, watch} from "vue";
|
||||
import Btn from "@/components/Btn.vue"
|
||||
import {cancelOrder, useWalletStore} from "@/blockchain/wallet.js";
|
||||
import {DISTANT_FUTURE, isOpen, MAX_FRACTION, OrderState} from "@/blockchain/orderlib.js";
|
||||
@@ -173,7 +173,7 @@ import Pulse from "@/components/Pulse.vue";
|
||||
import {OrderShapes} from "@/charts/ordershapes.js";
|
||||
import {useChartOrderStore} from "@/orderbuild.js";
|
||||
import {lookupSymbol, tickerForOrder} from "@/charts/datafeed.js";
|
||||
import {setSymbol} from "@/charts/chart.js";
|
||||
import {addSymbolChangedCallback, removeSymbolChangedCallback, setSymbol} from "@/charts/chart.js";
|
||||
import {uniswapV3AveragePrice} from "@/blockchain/uniswap.js";
|
||||
import {timestampString} from "@/misc.js";
|
||||
import {metadataMap} from "@/version.js";
|
||||
@@ -396,6 +396,12 @@ function describeTrancheTime(st, trancheIndex, isStart) {
|
||||
return result
|
||||
}
|
||||
|
||||
function symbolChanged() {
|
||||
selected.value = []
|
||||
}
|
||||
|
||||
onMounted(()=>addSymbolChangedCallback(symbolChanged))
|
||||
onUnmounted(()=>removeSymbolChangedCallback(symbolChanged))
|
||||
|
||||
</script>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user