Skip to content

Commit e4e10fc

Browse files
DrJKLsnomiao
authored andcommitted
fix: Missing .value led to the release dot always showing (#5500)
1 parent 2c5ca6f commit e4e10fc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/sidebar/SidebarHelpCenterIcon.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,8 +88,8 @@ const { shouldShowRedDot: shouldShowConflictRedDot, markConflictsAsSeen } =
8888
useConflictAcknowledgment()
8989
9090
// Use either release red dot or conflict red dot
91-
const shouldShowRedDot = computed(() => {
92-
const releaseRedDot = showReleaseRedDot
91+
const shouldShowRedDot = computed((): boolean => {
92+
const releaseRedDot = showReleaseRedDot.value
9393
return releaseRedDot || shouldShowConflictRedDot.value
9494
})
9595

0 commit comments

Comments
 (0)