diff --git a/src/components/common/LeftNavigator.vue b/src/components/common/LeftNavigator.vue index 5c6832e8..b62f0f2d 100644 --- a/src/components/common/LeftNavigator.vue +++ b/src/components/common/LeftNavigator.vue @@ -90,6 +90,7 @@ export default defineComponent({ onDeleteConversation(id: string) { const newConversations = this.conversations.filter((i: IConversation) => i.id !== id); this.$store.dispatch('setConversations', newConversations); + this.onNewConversation(); } } }); diff --git a/src/components/common/SettingPanel.vue b/src/components/common/SettingPanel.vue index 9ec6e314..d02fd910 100644 --- a/src/components/common/SettingPanel.vue +++ b/src/components/common/SettingPanel.vue @@ -1,5 +1,5 @@