File tree 1 file changed +6
-2
lines changed
src/lib/components/BulkListItem
1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -25,6 +25,8 @@ const onEditItem = () => {
25
25
editBookmarkStore .set ({
26
26
imported: true ,
27
27
description: ' ' ,
28
+ importance: 0 ,
29
+ flagged: false ,
28
30
note: ' ' ,
29
31
... metadata ,
30
32
category: {
@@ -106,7 +108,9 @@ const onRemoveItem = () => {
106
108
><a class ="link hover:link-secondary" href ={` /categories/${createSlug (category )} ` }>{category }</a
107
109
></td >
108
110
<th >
109
- <button class ="btn btn-ghost btn-xs text-secondary" on:click ={onEditItem }>edit</button >
110
- <button class ="btn btn-ghost btn-xs text-error" on:click ={onRemoveItem }>remove</button >
111
+ <button class ="btn btn-ghost btn-xs text-secondary" on:click |preventDefault ={onEditItem }
112
+ >edit</button >
113
+ <button class ="btn btn-ghost btn-xs text-error" on:click |preventDefault ={onRemoveItem }
114
+ >remove</button >
111
115
</th >
112
116
</tr >
You can’t perform that action at this time.
0 commit comments