mirror of
https://github.com/Artemis-RGB/Artemis
synced 2025-12-12 13:28:33 +00:00
Merge pull request #854 from Artemis-RGB/JsonUpdate
Bumped System-Text.Json to 8.0.4
This commit is contained in:
commit
a6e75d7a40
@ -167,7 +167,7 @@ public class ProfileCategory : CorePropertyChanged, IStorageModel
|
||||
IsSuspended = Entity.IsSuspended;
|
||||
Order = Entity.Order;
|
||||
|
||||
ProfileConfigurations = new ReadOnlyCollection<ProfileConfiguration>(Entity.ProfileConfigurations.Select(pc => new ProfileConfiguration(this, pc)).ToList());
|
||||
ProfileConfigurations = new ReadOnlyCollection<ProfileConfiguration>(Entity.ProfileConfigurations.Select(pc => new ProfileConfiguration(this, pc)).OrderBy(pc => pc.Order).ToList());
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
@ -180,7 +180,10 @@ public class ProfileCategory : CorePropertyChanged, IStorageModel
|
||||
|
||||
Entity.ProfileConfigurations.Clear();
|
||||
foreach (ProfileConfiguration profileConfiguration in ProfileConfigurations)
|
||||
{
|
||||
profileConfiguration.Save();
|
||||
Entity.ProfileConfigurations.Add(profileConfiguration.Entity);
|
||||
}
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
@ -59,7 +59,7 @@
|
||||
<PackageVersion Include="Splat.DryIoc" Version="15.1.1" />
|
||||
<PackageVersion Include="StrawberryShake.Server" Version="13.9.6" />
|
||||
<PackageVersion Include="System.IdentityModel.Tokens.Jwt" Version="7.6.2" />
|
||||
<PackageVersion Include="System.Text.Json" Version="8.0.3" />
|
||||
<PackageVersion Include="System.Text.Json" Version="8.0.4" />
|
||||
<PackageVersion Include="TextMateSharp.Grammars" Version="1.0.57" />
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
Loading…
x
Reference in New Issue
Block a user