diff --git a/src/store/index.js b/src/store/index.js index f213a20f2..2e06e246d 100644 --- a/src/store/index.js +++ b/src/store/index.js @@ -136,6 +136,7 @@ export default createStore({ ); if (bot) bot.order = order; }); + Chats.table.update(currentChat.index, { favBots: currentChat.favBots }); }, async addFavoriteBot(state, botClassname) { const currentChat = await Chats.getCurrentChat();