alpha
Login
or
Join now
nandi.uk
/
semble
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
This repository has no description
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Overview
Issues
Pulls
Pipelines
fix: card add/remove sync
author
Pouria Delfanazari
date
8 months ago
(Nov 4, 2025, 4:28 PM -0800)
commit
f43e452d
f43e452de1ec6517dc6e6b74c85c790a8ded9dcc
parent
d4bdcea4
d4bdcea491744fbcad9f263d64679a1a33112e28
+2
2 changed files
Expand all
Collapse all
Unified
Split
src
webapp
features
cards
lib
mutations
useAddCard.tsx
useRemoveCardFromCollections.tsx
+1
src/webapp/features/cards/lib/mutations/useAddCard.tsx
View file
Reviewed
···
28
28
queryClient.invalidateQueries({ queryKey: feedKeys.all() });
29
29
queryClient.invalidateQueries({ queryKey: collectionKeys.mine() });
30
30
queryClient.invalidateQueries({ queryKey: collectionKeys.infinite() });
31
31
+
queryClient.invalidateQueries({ queryKey: collectionKeys.all() });
31
32
queryClient.invalidateQueries({
32
33
queryKey: collectionKeys.bySembleUrl(variables.url),
33
34
});
+1
src/webapp/features/cards/lib/mutations/useRemoveCardFromCollections.tsx
View file
Reviewed
···
19
19
onSuccess: (_data, variables) => {
20
20
queryClient.invalidateQueries({ queryKey: collectionKeys.infinite() });
21
21
queryClient.invalidateQueries({ queryKey: collectionKeys.mine() });
22
22
+
queryClient.invalidateQueries({ queryKey: collectionKeys.all() });
22
23
23
24
variables.collectionIds.forEach((id) => {
24
25
queryClient.invalidateQueries({