Skip to content
This repository was archived by the owner on Nov 6, 2025. It is now read-only.

Commit 554ce0e

Browse files
Bugfix: creating new doc type properties sort order doesn't count existing properties - puts it at top (+1) (#2523)
Bug 17457 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!).
1 parent f5099a3 commit 554ce0e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/packages/core/content-type/workspace/views/design/content-type-design-editor-properties.element.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ export class UmbContentTypeDesignEditorPropertiesElement extends UmbLitElement {
193193
}
194194
preset.sortOrder = sortOrderInt;
195195
}
196-
return { data: { contentTypeUnique: this._ownerContentTypeUnique, preset: undefined } };
196+
return { data: { contentTypeUnique: this._ownerContentTypeUnique, preset: preset } };
197197
})
198198
.observeRouteBuilder((routeBuilder) => {
199199
this._newPropertyPath =

0 commit comments

Comments
 (0)