diff --git a/src/components/ftbot/PairLockList.vue b/src/components/ftbot/PairLockList.vue
new file mode 100644
index 00000000..a22c82e5
--- /dev/null
+++ b/src/components/ftbot/PairLockList.vue
@@ -0,0 +1,39 @@
+
+
+
+
+ ↻
+
+
+
+
+
+
+
+
+
+
diff --git a/src/store/index.ts b/src/store/index.ts
index 88895ec9..76e6dc14 100644
--- a/src/store/index.ts
+++ b/src/store/index.ts
@@ -75,6 +75,7 @@ export default new Vuex.Store({
// Refresh data that's needed in near realtime
dispatch('ftbot/getOpenTrades');
dispatch('ftbot/getState');
+ dispatch('ftbot/getLocks');
},
},
});
diff --git a/src/store/modules/ftbot.ts b/src/store/modules/ftbot.ts
index 019c9619..71f4b01d 100644
--- a/src/store/modules/ftbot.ts
+++ b/src/store/modules/ftbot.ts
@@ -64,7 +64,7 @@ export default {
strategyList: [],
strategy: {},
pairlist: [],
- currentLocks: [],
+ locks: [],
},
getters: {
[BotStoreGetters.plotConfig](state) {
diff --git a/src/store/modules/layout.ts b/src/store/modules/layout.ts
index 3bd08340..ecf029d6 100644
--- a/src/store/modules/layout.ts
+++ b/src/store/modules/layout.ts
@@ -29,7 +29,7 @@ export enum LayoutActions {
resetTradingLayout = 'resetTradingLayout',
}
-enum LayoutMutations {
+export enum LayoutMutations {
setDashboardLayout = 'setDashboardLayout',
setTradingLayout = 'setTradingLayout',
}
diff --git a/src/views/Trading.vue b/src/views/Trading.vue
index d66c0ca5..0b062c47 100644
--- a/src/views/Trading.vue
+++ b/src/views/Trading.vue
@@ -45,6 +45,9 @@
+
+
+
@@ -143,6 +146,7 @@ import BotStatus from '@/components/ftbot/BotStatus.vue';
import Balance from '@/components/ftbot/Balance.vue';
import DailyStats from '@/components/ftbot/DailyStats.vue';
import FTBotAPIPairList from '@/components/ftbot/FTBotAPIPairList.vue';
+import PairLockList from '@/components/ftbot/PairLockList.vue';
import TradeDetail from '@/components/ftbot/TradeDetail.vue';
import ReloadControl from '@/components/ftbot/ReloadControl.vue';
import LogViewer from '@/components/ftbot/LogViewer.vue';
@@ -168,6 +172,7 @@ const layoutNs = namespace('layout');
Balance,
DailyStats,
FTBotAPIPairList,
+ PairLockList,
TradeDetail,
ReloadControl,
LogViewer,