mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-24 09:13:50 +02:00
refactor store
This commit is contained in:
@@ -196,6 +196,7 @@
|
||||
|
||||
import ChatboxBlacklistDialog from './dialogs/ChatboxBlacklistDialog.vue';
|
||||
import Timer from '../../components/Timer.vue';
|
||||
import { showUserDialog, lookupUser } from '../../coordinators/userCoordinator';
|
||||
|
||||
const PhotonEventTable = defineAsyncComponent(() => import('./components/PhotonEventTable.vue'));
|
||||
|
||||
@@ -203,7 +204,7 @@
|
||||
const photonStore = usePhotonStore();
|
||||
const { photonLoggingEnabled, chatboxUserBlacklist } = storeToRefs(photonStore);
|
||||
const { saveChatboxUserBlacklist } = photonStore;
|
||||
const { showUserDialog, lookupUser } = useUserStore();
|
||||
|
||||
const { showWorldDialog } = useWorldStore();
|
||||
const { lastLocation } = storeToRefs(useLocationStore());
|
||||
const { currentInstanceLocation, currentInstanceWorld, currentInstanceUsersData } = storeToRefs(useInstanceStore());
|
||||
|
||||
@@ -83,9 +83,11 @@
|
||||
useVrcxStore,
|
||||
useWorldStore
|
||||
} from '../../../stores';
|
||||
import { showWorldDialog } from '../../../coordinators/worldCoordinator';
|
||||
import { Select, SelectContent, SelectItem, SelectTrigger, SelectValue } from '../../../components/ui/select';
|
||||
import { createColumns } from './photonEventColumns.jsx';
|
||||
import { photonEventTableTypeFilterList } from '../../../shared/constants/photon';
|
||||
import { lookupUser } from '../../../coordinators/userCoordinator';
|
||||
|
||||
const emit = defineEmits(['show-chatbox-blacklist']);
|
||||
const { t } = useI18n();
|
||||
@@ -106,9 +108,9 @@
|
||||
|
||||
const { stringComparer } = storeToRefs(useSearchStore());
|
||||
|
||||
const { lookupUser } = useUserStore();
|
||||
|
||||
const { showAvatarDialog } = useAvatarStore();
|
||||
const { showWorldDialog } = useWorldStore();
|
||||
|
||||
const { showGroupDialog } = useGroupStore();
|
||||
const { showFullscreenImageDialog } = useGalleryStore();
|
||||
const { ipcEnabled } = storeToRefs(useVrcxStore());
|
||||
|
||||
Reference in New Issue
Block a user