This commit is contained in:
pa
2026-03-10 23:09:04 +09:00
parent 607e09d271
commit 1c9e4621f5
10 changed files with 216 additions and 49 deletions
+4 -1
View File
@@ -1,7 +1,7 @@
import { reactive, ref, watch } from 'vue';
import { defineStore } from 'pinia';
import { playerModerationRequest } from '../api';
import { runRefreshPlayerModerationsFlow } from '../coordinators/moderationCoordinator';
import { useUserStore } from './user';
import { watchState } from '../services/watchState';
@@ -35,6 +35,9 @@ export const useModerationStore = defineStore('Moderation', () => {
cachedPlayerModerationsUserIds.clear();
playerModerationTable.value.loading = false;
playerModerationTable.value.data = [];
if (isLoggedIn) {
runRefreshPlayerModerationsFlow();
}
},
{ flush: 'sync' }
);