TagSpaces is an offline, open source, document manager with tagging support
fix: chat items refresh issue
Ilian Sapundshieva4d8bb46f2fb
diff --git a/src/renderer/hooks/ChatProvider.tsx b/src/renderer/hooks/ChatProvider.tsxindex 29a697905..ea9aeeda3 100644--- a/src/renderer/hooks/ChatProvider.tsx+++ b/src/renderer/hooks/ChatProvider.tsx@@ -291,6 +291,9 @@ export const ChatContextProvider = ({ children }: ChatContextProviderProps) => {chatHistoryItems.current = historyItems;forceUpdate();});+ } else {+ chatHistoryItems.current = [];+ forceUpdate();}}}