Fix default layout

This commit is contained in:
Mads Sørensen 2021-01-12 13:59:00 +01:00
parent 96ee63cec8
commit f433601a07

View File

@ -34,16 +34,15 @@ export enum LayoutMutations {
setDashboardLayout = 'setDashboardLayout',
setTradingLayout = 'setTradingLayout',
}
// Define default layouts
const DEFAULT_TRADING_LAYOUT: GridItemData[] = [
{ i: TradeLayout.botControls, x: 0, y: 0, w: 3, h: 3 },
{ i: TradeLayout.multiPane, x: 0, y: 3, w: 3, h: 7 },
{ i: TradeLayout.chartView, x: 3, y: 0, w: 9, h: 11 },
{ i: TradeLayout.tradeDetail, x: 0, y: 11, w: 5, h: 6 },
{ i: TradeLayout.openTrades, x: 5, y: 11, w: 7, h: 5 },
{ i: TradeLayout.tradeHistory, x: 5, y: 12, w: 7, h: 6 },
{ i: TradeLayout.logView, x: 0, y: 16, w: 12, h: 3 },
{ i: TradeLayout.botControls, x: 0, y: 0, w: 4, h: 3 },
{ i: TradeLayout.multiPane, x: 0, y: 3, w: 4, h: 23 },
{ i: TradeLayout.chartView, x: 4, y: 0, w: 8, h: 11 },
{ i: TradeLayout.tradeDetail, x: 0, y: 44, w: 5, h: 6 },
{ i: TradeLayout.openTrades, x: 4, y: 11, w: 8, h: 5 },
{ i: TradeLayout.tradeHistory, x: 4, y: 16, w: 8, h: 10 },
{ i: TradeLayout.logView, x: 0, y: 26, w: 12, h: 15 },
];
const DEFAULT_DASHBOARD_LAYOUT: GridItemData[] = [