mirror of
https://github.com/freqtrade/frequi.git
synced 2024-11-11 02:33:51 +00:00
Add URL to botDescriptor
This commit is contained in:
parent
1c4e2aed54
commit
5f7282cb0a
|
@ -7,6 +7,7 @@
|
||||||
:key="bot.botId"
|
:key="bot.botId"
|
||||||
button
|
button
|
||||||
:active="bot.botId === selectedBot"
|
:active="bot.botId === selectedBot"
|
||||||
|
:title="`${bot.botId} - ${bot.botName} - ${bot.botUrl}`"
|
||||||
@click="selectBot(bot.botId)"
|
@click="selectBot(bot.botId)"
|
||||||
>
|
>
|
||||||
{{ bot.botName || bot.botId }}
|
{{ bot.botName || bot.botId }}
|
||||||
|
|
|
@ -152,6 +152,7 @@ export default class Login extends Vue {
|
||||||
this.addBot({
|
this.addBot({
|
||||||
botName: this.auth.botName,
|
botName: this.auth.botName,
|
||||||
botId: this.nextBotId,
|
botId: this.nextBotId,
|
||||||
|
botUrl: this.auth.url,
|
||||||
});
|
});
|
||||||
// TODO: Investigate how this needs to be done properly
|
// TODO: Investigate how this needs to be done properly
|
||||||
// setBaseUrl(userService.getAPIUrl());
|
// setBaseUrl(userService.getAPIUrl());
|
||||||
|
|
|
@ -70,6 +70,7 @@ export class UserService {
|
||||||
response[k] = {
|
response[k] = {
|
||||||
botId: k,
|
botId: k,
|
||||||
botName: v.botName,
|
botName: v.botName,
|
||||||
|
botUrl: v.apiUrl,
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
return response;
|
return response;
|
||||||
|
|
|
@ -19,6 +19,7 @@ export interface AuthStorageMulti {
|
||||||
export interface BotDescriptor {
|
export interface BotDescriptor {
|
||||||
botName: string;
|
botName: string;
|
||||||
botId: string;
|
botId: string;
|
||||||
|
botUrl: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface BotDescriptors {
|
export interface BotDescriptors {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user