From 422d618bb5dddbb0d868f6922c234197df3f089a Mon Sep 17 00:00:00 2001 From: Timothy Baldridge Date: Mon, 19 Sep 2022 15:45:21 -0600 Subject: [PATCH] Don't allow lists under maintenance to be downloaded --- Wabbajack.App.Wpf/View Models/Gallery/ModListMetadataVM.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Wabbajack.App.Wpf/View Models/Gallery/ModListMetadataVM.cs b/Wabbajack.App.Wpf/View Models/Gallery/ModListMetadataVM.cs index fec7f2a1..af7d97cb 100644 --- a/Wabbajack.App.Wpf/View Models/Gallery/ModListMetadataVM.cs +++ b/Wabbajack.App.Wpf/View Models/Gallery/ModListMetadataVM.cs @@ -136,7 +136,9 @@ namespace Wabbajack { await Download(); } - }, LoadingLock.WhenAnyValue(ll => ll.IsLoading).Select(v => !v)); + }, LoadingLock.WhenAnyValue(ll => ll.IsLoading) + .CombineLatest(this.WhenAnyValue(vm => vm.IsBroken)) + .Select(v => !v.First && !v.Second)); _Exists = Observable.Interval(TimeSpan.FromSeconds(0.5)) .Unit()