Skip to content

Commit 15a5d19

Browse files
authored
fix: automatically marking closed items as done broken (#268)
1 parent 912f16f commit 15a5d19

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/routes/(app)/dashboard/+page.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,7 @@
329329
notification.status.includes('read') &&
330330
(notification.type === 'pr' || notification.type === 'issue') &&
331331
!notification.opened &&
332-
previous?.status !== 'done'
332+
(previous ? previous?.status !== 'done' : true)
333333
);
334334
}
335335

0 commit comments

Comments
 (0)