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; [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);