diff --git a/client/src/stores/historyStore.ts b/client/src/stores/historyStore.ts index c5df5d2e66e..1c875955a90 100644 --- a/client/src/stores/historyStore.ts +++ b/client/src/stores/historyStore.ts @@ -235,7 +235,6 @@ export const useHistoryStore = defineStore("historyStore", () => { await createNewHistory(); } del(storedHistories.value, deletedHistory.id); - unpinHistories([deletedHistory.id]); await handleTotalCountChange(1, true); } @@ -389,6 +388,7 @@ export const useHistoryStore = defineStore("historyStore", () => { copyHistory, createNewHistory, deleteHistory, + handleTotalCountChange, loadCurrentHistory, loadHistories, loadHistoryById,