small linting fixes

This commit is contained in:
Matthias 2023-04-13 06:34:39 +02:00
parent b4d1c99179
commit 7c01e0e5f9
3 changed files with 10 additions and 5 deletions

View File

@ -79,7 +79,7 @@
v-if="botStore.botCount === 1"
class="dropdown-item"
to="/"
@click.native="clickLogout()"
@click="clickLogout()"
>Sign Out</router-link
>
</b-nav-item-dropdown>
@ -107,7 +107,7 @@
v-if="botStore.botCount === 1"
class="nav-link navbar-nav"
to="/"
@click.native="clickLogout()"
@click="clickLogout()"
>Sign Out</router-link
>
</div>
@ -189,7 +189,7 @@ const setTitle = () => {
};
onBeforeUnmount(() => {
if (pingInterval) {
if (pingInterval.value) {
clearInterval(pingInterval.value);
}
});

View File

@ -85,7 +85,7 @@
v-if="btFormMode !== 'visualize' && showLeftBar"
:backtest-history="botStore.activeBot.backtestHistory"
:selected-backtest-result-key="botStore.activeBot.selectedBacktestResultKey"
@selectionChange="botStore.activeBot.setBacktestResultKey"
@selection-change="botStore.activeBot.setBacktestResultKey"
/>
</transition>
</div>

View File

@ -9,7 +9,12 @@
title="Login to your bot"
@ok="handleOk"
>
<login ref="loginForm" in-modal :existing-auth="loginInfo" @loginResult="handleLoginResult" />
<login
ref="loginForm"
in-modal
:existing-auth="loginInfo"
@login-result="handleLoginResult"
/>
</b-modal>
</div>
</template>