Bugfix: creating new doc type properties sort order doesn't count existing properties - puts it at top (+1) (#2523)
Bug 17457 https://github.com/umbraco/Umbraco-CMS/issues/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!).
This commit is contained in:
@@ -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 =
|
||||
|
||||
Reference in New Issue
Block a user