@@ -54,10 +54,10 @@ export abstract class UmbMenuVariantTreeStructureWorkspaceContextBase extends Um
54
54
async #requestStructure( ) {
55
55
const isNew = this . #workspaceContext?. getIsNew ( ) ;
56
56
const uniqueObservable = isNew
57
- ? this . #workspaceContext?. _internal_createUnderParentEntityType
57
+ ? this . #workspaceContext?. _internal_createUnderParentEntityUnique
58
58
: this . #workspaceContext?. unique ;
59
59
const entityTypeObservable = isNew
60
- ? this . #workspaceContext?. _internal_createUnderParentEntityUnique
60
+ ? this . #workspaceContext?. _internal_createUnderParentEntityType
61
61
: this . #workspaceContext?. entityType ;
62
62
63
63
let structureItems : Array < UmbVariantStructureItemModel > = [ ] ;
@@ -112,7 +112,7 @@ export abstract class UmbMenuVariantTreeStructureWorkspaceContextBase extends Um
112
112
}
113
113
114
114
#setParentData( structureItems : Array < UmbVariantStructureItemModel > ) {
115
- /* If the item is not new, the current item is the last item in the array.
115
+ /* If the item is not new, the current item is the last item in the array.
116
116
We filter out the current item unique to handle any case where it could show up */
117
117
const parent = structureItems . filter ( ( item ) => item . unique !== this . #workspaceContext?. getUnique ( ) ) . pop ( ) ;
118
118
@@ -142,7 +142,7 @@ export abstract class UmbMenuVariantTreeStructureWorkspaceContextBase extends Um
142
142
143
143
return entity ;
144
144
} )
145
- /* If the item is not new, the current item is the last item in the array.
145
+ /* If the item is not new, the current item is the last item in the array.
146
146
We filter out the current item unique to handle any case where it could show up */
147
147
. filter ( ( item ) => item . unique !== this . #workspaceContext?. getUnique ( ) ) ;
148
148
0 commit comments