mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-05-05 06:16:05 +02:00
refactor store
This commit is contained in:
@@ -28,9 +28,10 @@
|
||||
import { timeToText } from '../../../shared/utils';
|
||||
|
||||
import * as echarts from 'echarts';
|
||||
import { showUserDialog } from '../../../coordinators/userCoordinator';
|
||||
|
||||
const { isDarkMode, dtHour12 } = storeToRefs(useAppearanceSettingsStore());
|
||||
const { showUserDialog } = useUserStore();
|
||||
|
||||
const { currentUser } = storeToRefs(useUserStore());
|
||||
|
||||
const props = defineProps({
|
||||
|
||||
@@ -275,6 +275,7 @@
|
||||
useUserStore
|
||||
} from '../../../stores';
|
||||
import { userImage, userStatusClass } from '../../../shared/utils';
|
||||
import { showUserDialog } from '../../../coordinators/userCoordinator';
|
||||
import { database } from '../../../service/database';
|
||||
import { watchState } from '../../../service/watchState';
|
||||
|
||||
@@ -290,7 +291,7 @@
|
||||
const { currentUser } = storeToRefs(userStore);
|
||||
const { isDarkMode } = storeToRefs(appearanceStore);
|
||||
const cachedUsers = userStore.cachedUsers;
|
||||
const showUserDialog = (userId) => userStore.showUserDialog(userId);
|
||||
|
||||
|
||||
const fetchState = chartsStore.mutualGraphFetchState;
|
||||
const status = chartsStore.mutualGraphStatus;
|
||||
|
||||
Reference in New Issue
Block a user