Remove more deprecated usags

This commit is contained in:
Matthias 2023-04-13 06:39:21 +02:00
parent dab29a1f68
commit 5bc75e4ac1
5 changed files with 8 additions and 8 deletions

View File

@ -50,7 +50,7 @@
title="Add to blacklist"
target="blacklist-add-btn"
triggers="click"
:show.sync="blackListShow"
:show="blackListShow"
>
<form ref="form" @submit.prevent>
<div>

View File

@ -26,7 +26,7 @@
v-model="amount"
type="number"
step="0.000001"
@keydown.enter.native="handleEntry"
@keydown.enter="handleEntry"
></b-form-input>
<b-form-input
id="stake-input"
@ -35,7 +35,7 @@
step="0.000001"
min="0"
:max="trade.amount"
@keydown.enter.native="handleEntry"
@keydown.enter="handleEntry"
></b-form-input>
</b-form-group>

View File

@ -50,7 +50,7 @@ const cancelOpenOrderHandler = (item: Trade) => {
:bot-api-version="botApiVersion"
@force-exit="forceExitHandler"
@force-exit-partial="forceExitPartialHandler"
@deleteTrade="
@delete-trade="
popoverOpen = false;
$emit('deleteTrade', trade);
"

View File

@ -18,7 +18,7 @@ const routes: Array<RouteRecordRaw> = [
{
path: '/graph',
name: 'Freqtrade Graph',
component: () => import('@/views/Graphs.vue'),
component: () => import('@/views/GraphsView.vue'),
},
{
path: '/logs',
@ -70,7 +70,7 @@ const routes: Array<RouteRecordRaw> = [
{
path: '/(.*)*',
name: '404',
component: () => import('@/views/Error404.vue'),
component: () => import('@/views/Error404View.vue'),
},
];

View File

@ -134,7 +134,7 @@ export class UserService {
private async loginCall(auth: AuthPayload): Promise<AuthStorage> {
// Login using username / password
const { data } = await axios.post<{}, AxiosResponse<AuthResponse>>(
const { data } = await axios.post<Record<string, never>, AxiosResponse<AuthResponse>>(
`${auth.url}/api/v1/token/login`,
{},
{
@ -165,7 +165,7 @@ export class UserService {
const token = this.getRefreshToken();
return new Promise((resolve, reject) => {
axios
.post<{}, AxiosResponse<AuthResponse>>(
.post<Record<string, never>, AxiosResponse<AuthResponse>>(
`${this.getAPIUrl()}${APIBASE}/token/refresh`,
{},
{