mirror of
https://github.com/freqtrade/frequi.git
synced 2024-11-10 18:23:50 +00:00
Remove component imports where possible
This commit is contained in:
parent
851a0ce35d
commit
1ef085db7c
|
@ -7,7 +7,7 @@
|
||||||
title="Login to your bot"
|
title="Login to your bot"
|
||||||
@ok="handleOk"
|
@ok="handleOk"
|
||||||
>
|
>
|
||||||
<login
|
<BotLogin
|
||||||
ref="loginForm"
|
ref="loginForm"
|
||||||
in-modal
|
in-modal
|
||||||
:existing-auth="loginInfo"
|
:existing-auth="loginInfo"
|
||||||
|
@ -18,7 +18,7 @@
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import Login from '@/components/BotLogin.vue';
|
import BotLogin from '@/components/BotLogin.vue';
|
||||||
import { AuthStorageWithBotId } from '@/types';
|
import { AuthStorageWithBotId } from '@/types';
|
||||||
import { nextTick, ref } from 'vue';
|
import { nextTick, ref } from 'vue';
|
||||||
|
|
||||||
|
@ -26,7 +26,7 @@ defineProps({
|
||||||
loginText: { required: false, default: 'Login', type: String },
|
loginText: { required: false, default: 'Login', type: String },
|
||||||
});
|
});
|
||||||
const loginViewOpen = ref(false);
|
const loginViewOpen = ref(false);
|
||||||
const loginForm = ref<typeof Login>();
|
const loginForm = ref<typeof BotLogin>();
|
||||||
const loginInfo = ref<AuthStorageWithBotId | undefined>(undefined);
|
const loginInfo = ref<AuthStorageWithBotId | undefined>(undefined);
|
||||||
const handleLoginResult = (result: boolean) => {
|
const handleLoginResult = (result: boolean) => {
|
||||||
if (result) {
|
if (result) {
|
||||||
|
|
|
@ -43,7 +43,7 @@
|
||||||
<BotPerformance class="performance-view" />
|
<BotPerformance class="performance-view" />
|
||||||
</b-tab>
|
</b-tab>
|
||||||
<b-tab title="Balance" lazy>
|
<b-tab title="Balance" lazy>
|
||||||
<Balance />
|
<BotBalance />
|
||||||
</b-tab>
|
</b-tab>
|
||||||
<b-tab title="Time Breakdown" lazy>
|
<b-tab title="Time Breakdown" lazy>
|
||||||
<PeriodBreakdown />
|
<PeriodBreakdown />
|
||||||
|
@ -148,19 +148,6 @@
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import { GridItemData } from '@/types';
|
import { GridItemData } from '@/types';
|
||||||
|
|
||||||
import Balance from '@/components/ftbot/BotBalance.vue';
|
|
||||||
import BotControls from '@/components/ftbot/BotControls.vue';
|
|
||||||
import BotStatus from '@/components/ftbot/BotStatus.vue';
|
|
||||||
import CandleChartContainer from '@/components/charts/CandleChartContainer.vue';
|
|
||||||
import PeriodBreakdown from '@/components/ftbot/PeriodBreakdown.vue';
|
|
||||||
import DraggableContainer from '@/components/layout/DraggableContainer.vue';
|
|
||||||
import PairListLive from '@/components/ftbot/PairListLive.vue';
|
|
||||||
import PairLockList from '@/components/ftbot/PairLockList.vue';
|
|
||||||
import PairSummary from '@/components/ftbot/PairSummary.vue';
|
|
||||||
import BotPerformance from '@/components/ftbot/BotPerformance.vue';
|
|
||||||
import TradeDetail from '@/components/ftbot/TradeDetail.vue';
|
|
||||||
import TradeList from '@/components/ftbot/TradeList.vue';
|
|
||||||
|
|
||||||
import { ref, computed } from 'vue';
|
import { ref, computed } from 'vue';
|
||||||
import { useLayoutStore, findGridLayout, TradeLayout } from '@/stores/layout';
|
import { useLayoutStore, findGridLayout, TradeLayout } from '@/stores/layout';
|
||||||
import { useBotStore } from '@/stores/ftbotwrapper';
|
import { useBotStore } from '@/stores/ftbotwrapper';
|
||||||
|
|
Loading…
Reference in New Issue
Block a user