mirror of
https://github.com/freqtrade/frequi.git
synced 2024-11-26 21:15:15 +00:00
Remove more deprecated usags
This commit is contained in:
parent
dab29a1f68
commit
5bc75e4ac1
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
||||
|
|
|
@ -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);
|
||||
"
|
||||
|
|
|
@ -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'),
|
||||
},
|
||||
];
|
||||
|
||||
|
|
|
@ -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`,
|
||||
{},
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue
Block a user