mirror of
https://github.com/mayswind/ezbookkeeping.git
synced 2026-05-20 17:54:30 +08:00
add insights & explore page
This commit is contained in:
@@ -10,6 +10,7 @@ import { useTransactionTemplatesStore } from './transactionTemplate.ts';
|
||||
import { useTransactionsStore } from './transaction.ts';
|
||||
import { useOverviewStore } from './overview.ts';
|
||||
import { useStatisticsStore } from './statistics.ts';
|
||||
import { useExploresStore } from './explore.ts';
|
||||
import { useExchangeRatesStore } from './exchangeRates.ts';
|
||||
|
||||
import type { AuthResponse, RegisterResponse } from '@/models/auth_response.ts';
|
||||
@@ -49,6 +50,7 @@ export const useRootStore = defineStore('root', () => {
|
||||
const transactionsStore = useTransactionsStore();
|
||||
const overviewStore = useOverviewStore();
|
||||
const statisticsStore = useStatisticsStore();
|
||||
const exploresStore = useExploresStore();
|
||||
const exchangeRatesStore = useExchangeRatesStore();
|
||||
|
||||
const currentNotification = ref<string | null>(null);
|
||||
@@ -60,6 +62,7 @@ export const useRootStore = defineStore('root', () => {
|
||||
|
||||
setNotificationContent(null);
|
||||
|
||||
exploresStore.resetTransactionExplores();
|
||||
statisticsStore.resetTransactionStatistics();
|
||||
overviewStore.resetTransactionOverview();
|
||||
transactionsStore.resetTransactions();
|
||||
|
||||
Reference in New Issue
Block a user