From d57a11a68978646af2b95a435157cddf2dc8be52 Mon Sep 17 00:00:00 2001 From: Ionite Date: Sat, 28 Oct 2023 04:53:44 -0400 Subject: [PATCH] Ignore modules for json serializer --- .../ViewModels/Inference/StackEditableCardViewModel.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/StabilityMatrix.Avalonia/ViewModels/Inference/StackEditableCardViewModel.cs b/StabilityMatrix.Avalonia/ViewModels/Inference/StackEditableCardViewModel.cs index 8ec7a689..4a1bd2c9 100644 --- a/StabilityMatrix.Avalonia/ViewModels/Inference/StackEditableCardViewModel.cs +++ b/StabilityMatrix.Avalonia/ViewModels/Inference/StackEditableCardViewModel.cs @@ -31,12 +31,14 @@ public partial class StackEditableCardViewModel : StackViewModelBase /// /// Available module types for user creation /// + [JsonIgnore] public IReadOnlyList AvailableModules { get; set; } = Array.Empty(); /// /// Default modules that are used when no modules are loaded /// This is a subset of /// + [JsonIgnore] public IReadOnlyList DefaultModules { get; set; } = Array.Empty(); ///