Skip to content

Commit d8475dc

Browse files
authored
Fix conflict in InstalledWorkflowsViewModel.cs
1 parent 09dc240 commit d8475dc

File tree

1 file changed

+1
-17
lines changed

1 file changed

+1
-17
lines changed

StabilityMatrix.Avalonia/ViewModels/InstalledWorkflowsViewModel.cs

Lines changed: 1 addition & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -46,23 +46,7 @@ protected override async Task OnInitialLoadedAsync()
4646
{
4747
await base.OnInitialLoadedAsync();
4848

49-
<<<<<<< HEAD
50-
workflowsCache.Connect().DeferUntilLoaded().Bind(DisplayedWorkflows).Subscribe();
51-
=======
52-
var searchPredicate = this.WhenPropertyChanged(vm => vm.SearchQuery)
53-
.Throttle(TimeSpan.FromMilliseconds(100))
54-
.DistinctUntilChanged()
55-
.Select(_ => (Func<OpenArtMetadata, bool>)FilterWorkflows);
56-
57-
workflowsCache
58-
.Connect()
59-
.DeferUntilLoaded()
60-
.Filter(searchPredicate)
61-
.SortBy(x => x.Index)
62-
.Bind(DisplayedWorkflows)
63-
.ObserveOn(SynchronizationContext.Current)
64-
.Subscribe();
65-
>>>>>>> 64b44ab1 (Merge pull request #899 from ionite34/observe-on)
49+
workflowsCache.Connect().DeferUntilLoaded().Bind(DisplayedWorkflows).ObserveOn(SynchronizationContext.Current).Subscribe();
6650

6751
if (Design.IsDesignMode)
6852
return;

0 commit comments

Comments
 (0)