mirror of
https://github.com/freqtrade/frequi.git
synced 2024-11-14 04:03:51 +00:00
Rename botstore wrapper
This commit is contained in:
parent
e88469c69f
commit
8570aed525
|
@ -24,7 +24,7 @@ export interface SubStores {
|
||||||
[key: string]: BotSubStore;
|
[key: string]: BotSubStore;
|
||||||
}
|
}
|
||||||
|
|
||||||
export const useBotStore = defineStore('wrapper', {
|
export const useBotStore = defineStore('ftbot-wrapper', {
|
||||||
state: () => {
|
state: () => {
|
||||||
return {
|
return {
|
||||||
selectedBot: '',
|
selectedBot: '',
|
||||||
|
@ -194,7 +194,6 @@ export const useBotStore = defineStore('wrapper', {
|
||||||
console.warn(`bot ${botId} not found! could not remove`);
|
console.warn(`bot ${botId} not found! could not remove`);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
selectFirstBot() {
|
selectFirstBot() {
|
||||||
if (this.hasBots) {
|
if (this.hasBots) {
|
||||||
const selBotId = localStorage.getItem(AUTH_SELECTED_BOT);
|
const selBotId = localStorage.getItem(AUTH_SELECTED_BOT);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user