fix(lists): pass nextCompleted argument to api.toggleListItem and make parameter optional
MindSift CI & Docker Release / Build, Test in Container & Push (push) Successful in 1m7s
MindSift CI & Docker Release / Build, Test in Container & Push (push) Successful in 1m7s
This commit is contained in:
1 parent
b3e651b3b9
commit
2504b48171
3 files changed
+2746
-2
No files matched your search
@@ -179,7 +179,7 @@ export const SharedListsView: React.FC<SharedListsViewProps> = ({ onRefreshGloba
|
||||
})
|
||||
);
|
||||
|
||||
await api.toggleListItem(activeList.id, item.id);
|
||||
await api.toggleListItem(activeList.id, item.id, nextCompleted);
|
||||
onRefreshGlobal();
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user