Rename botstore wrapper

This commit is contained in:
Matthias 2023-04-18 18:08:17 +02:00
parent e88469c69f
commit 8570aed525

View File

@ -24,7 +24,7 @@ export interface SubStores {
[key: string]: BotSubStore;
}
export const useBotStore = defineStore('wrapper', {
export const useBotStore = defineStore('ftbot-wrapper', {
state: () => {
return {
selectedBot: '',
@ -194,7 +194,6 @@ export const useBotStore = defineStore('wrapper', {
console.warn(`bot ${botId} not found! could not remove`);
}
},
selectFirstBot() {
if (this.hasBots) {
const selBotId = localStorage.getItem(AUTH_SELECTED_BOT);