@@ -54,10 +54,10 @@ export abstract class UmbMenuVariantTreeStructureWorkspaceContextBase extends Um
5454 async #requestStructure( ) {
5555 const isNew = this . #workspaceContext?. getIsNew ( ) ;
5656 const uniqueObservable = isNew
57- ? this . #workspaceContext?. _internal_createUnderParentEntityType
57+ ? this . #workspaceContext?. _internal_createUnderParentEntityUnique
5858 : this . #workspaceContext?. unique ;
5959 const entityTypeObservable = isNew
60- ? this . #workspaceContext?. _internal_createUnderParentEntityUnique
60+ ? this . #workspaceContext?. _internal_createUnderParentEntityType
6161 : this . #workspaceContext?. entityType ;
6262
6363 let structureItems : Array < UmbVariantStructureItemModel > = [ ] ;
@@ -112,7 +112,7 @@ export abstract class UmbMenuVariantTreeStructureWorkspaceContextBase extends Um
112112 }
113113
114114 #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.
116116 We filter out the current item unique to handle any case where it could show up */
117117 const parent = structureItems . filter ( ( item ) => item . unique !== this . #workspaceContext?. getUnique ( ) ) . pop ( ) ;
118118
@@ -142,7 +142,7 @@ export abstract class UmbMenuVariantTreeStructureWorkspaceContextBase extends Um
142142
143143 return entity ;
144144 } )
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.
146146 We filter out the current item unique to handle any case where it could show up */
147147 . filter ( ( item ) => item . unique !== this . #workspaceContext?. getUnique ( ) ) ;
148148
0 commit comments