diff --git a/src/ViewModels/ExportCollectionViewModel.cs b/src/ViewModels/ExportCollectionViewModel.cs index 321c4bdd..d7ed2f19 100644 --- a/src/ViewModels/ExportCollectionViewModel.cs +++ b/src/ViewModels/ExportCollectionViewModel.cs @@ -47,7 +47,7 @@ public bool AdvancedExport } } - private ActionCommand _applyActiveFiltesCommand; + private ActionCommand? _applyActiveFiltesCommand; public ActionCommand ApplyActiveFiltersCommand => _applyActiveFiltesCommand ??= new(ApplyActiveFilters, () => MainViewModel.CollectionVM.FilterVM.HasActiveFilters); private void ApplyActiveFilters()