refactor utils

This commit is contained in:
pa
2026-03-10 20:08:16 +09:00
parent ff1529920b
commit 1dfd0bf54c
40 changed files with 435 additions and 275 deletions
+5 -1
View File
@@ -347,7 +347,11 @@ export const useNotificationStore = defineStore('Notification', () => {
}
}
}
if (!checkCanInvite(currentLocation)) {
if (!checkCanInvite(currentLocation, {
currentUserId: userStore.currentUser.id,
lastLocationStr: locationStore.lastLocation.location,
cachedInstances: instanceStore.cachedInstances
})) {
return;
}