fix: ahead/behind indicator of commit in histories view not updated after upstream changed

This commit is contained in:
leo 2024-08-09 15:17:04 +08:00
parent ce7420354d
commit c596427380
No known key found for this signature in database
6 changed files with 99 additions and 29 deletions

View file

@ -728,7 +728,8 @@
<ContentControl Grid.Row="2" Content="{Binding SelectedView}">
<ContentControl.DataTemplates>
<DataTemplate DataType="vm:Histories">
<v:Histories NavigationId="{Binding NavigationId}"/>
<v:Histories CurrentBranch="{Binding $parent[v:Repository].((vm:Repository)DataContext).CurrentBranch}"
NavigationId="{Binding NavigationId}"/>
</DataTemplate>
<DataTemplate DataType="vm:WorkingCopy">