Skip to content

Commit

Permalink
Fix code style
Browse files Browse the repository at this point in the history
  • Loading branch information
Apollo3zehn committed Jul 29, 2024
1 parent ab4285e commit 07cfe6c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Nexus.UI/Core/AppState.cs
Original file line number Diff line number Diff line change
Expand Up @@ -339,12 +339,12 @@ public async Task SaveAndRemoveEditModeCatalogAsync(string catalogId, ISnackbar

var groupNames = (resource
.Properties
.GetStringArray(GROUP_KEY) ?? new string[] { "default" })
.GetStringArray(GROUP_KEY) ?? ["default"])
.Where(groupName => groupName is not null)
.Cast<string>();

if (!groupNames.Any())
groupNames = new string[] { "default" };
groupNames = ["default"];

foreach (var groupName in groupNames)
{
Expand Down

0 comments on commit 07cfe6c

Please sign in to comment.