Skip to content
This repository was archived by the owner on Jun 21, 2023. It is now read-only.

Commit f3c4548

Browse files
Correcting the xaml binding
1 parent f13d354 commit f3c4548

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/GitHub.InlineReviews/Views/InlineCommentPeekView.xaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@
114114
</ItemsControl>
115115

116116
<ghfvs:CommentThreadView x:Name="threadView"
117-
Visibility="{Binding AvailableForComment, Converter={ghfvs:BooleanToVisibilityConverter}}"
117+
Visibility="{Binding DataContext.AvailableForComment, Converter={ghfvs:BooleanToVisibilityConverter}, ElementName=annotationsView}"
118118
DataContext="{Binding Thread}"/>
119119
</StackPanel>
120120
</ScrollViewer>

0 commit comments

Comments
 (0)