Skip to content

Commit

Permalink
Bug 17457
Browse files Browse the repository at this point in the history
umbraco/Umbraco-CMS#17457

Creating new doc type properties sort order doesn't count existing properties.

Looking at this it seems that the hardwork is done to workout the sort order and assign it to preset but it's not returned undefined was (probably as a dev placeholder that's gone unnoticed!).
  • Loading branch information
cheeseytoastie committed Nov 7, 2024
1 parent aacf020 commit 881b274
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ export class UmbContentTypeDesignEditorPropertiesElement extends UmbLitElement {
}
preset.sortOrder = sortOrderInt;
}
return { data: { contentTypeUnique: this._ownerContentTypeUnique, preset: undefined } };
return { data: { contentTypeUnique: this._ownerContentTypeUnique, preset: preset } };
})
.observeRouteBuilder((routeBuilder) => {
this._newPropertyPath =
Expand Down

0 comments on commit 881b274

Please sign in to comment.