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