Disabled sort on payload on group submit
This commit is contained in:
@@ -332,7 +332,7 @@ public partial class EditProfileUi
|
||||
saveTooltip: "Apply the selected tags to this syncshell profile.",
|
||||
submitAction: payload => SubmitGroupTagChanges(payload),
|
||||
allowReorder: true,
|
||||
sortPayloadBeforeSubmit: true,
|
||||
sortPayloadBeforeSubmit: false,
|
||||
onPayloadPrepared: payload =>
|
||||
{
|
||||
_tagEditorSelection.Clear();
|
||||
@@ -586,7 +586,7 @@ public partial class EditProfileUi
|
||||
IsNsfw: null,
|
||||
IsDisabled: null)).ConfigureAwait(false);
|
||||
|
||||
_profileTagIds = payload.Length == 0 ? Array.Empty<int>() : payload.ToArray();
|
||||
_profileTagIds = payload.Length == 0 ? [] : [.. payload];
|
||||
Mediator.Publish(new ClearProfileGroupDataMessage(_groupInfo.Group));
|
||||
}
|
||||
catch (Exception ex)
|
||||
|
||||
Reference in New Issue
Block a user