mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-05-06 06:46:04 +02:00
Remove favorite when unfriending
This commit is contained in:
@@ -307,12 +307,11 @@ export const useFavoriteStore = defineStore('Favorite', () => {
|
||||
}
|
||||
}
|
||||
|
||||
function handleFavoriteDelete(args) {
|
||||
const ref = getCachedFavoritesByObjectId(args.params.objectId);
|
||||
function handleFavoriteDelete(objectId) {
|
||||
const ref = getCachedFavoritesByObjectId(objectId);
|
||||
if (typeof ref === 'undefined') {
|
||||
return;
|
||||
}
|
||||
args.ref = ref;
|
||||
handleFavoriteAtDelete(ref);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user