Auto-reload transactions after AI makes changes
When the AI updates a category (or any tool result), the transactions page now automatically reloads. ChatPanel triggers a refresh counter in the usePageContext composable when the response includes a tool result, and TransactionsView watches that counter to reload data. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -232,7 +232,11 @@ const startDate = ref('')
|
||||
const endDate = ref('')
|
||||
const statusFilter = ref('All')
|
||||
|
||||
const { setPageContext, clearPageContext } = usePageContext()
|
||||
const { setPageContext, clearPageContext, refreshTrigger } = usePageContext()
|
||||
|
||||
watch(refreshTrigger, () => {
|
||||
loadTransactions()
|
||||
})
|
||||
|
||||
watchEffect(() => {
|
||||
const filters: string[] = []
|
||||
|
||||
Reference in New Issue
Block a user