We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ad13daf commit 02c6fe8Copy full SHA for 02c6fe8
plugins/card-resources/src/components/navigator-next/NavigatorCard.svelte
@@ -39,13 +39,13 @@
39
40
let activeAction: string | undefined = undefined
41
42
- function toggleFavoriteCard (_id: Ref<Card>): void {
+ function toggleFavoriteCard (): void {
43
if (favorite !== undefined) {
44
void client.remove(favorite)
45
} else {
46
void client.createDoc(cardPlugin.class.FavoriteCard, core.space.Workspace, {
47
application: applicationId,
48
- attachedTo: _id
+ attachedTo: card._id
49
})
50
}
51
0 commit comments