File tree Expand file tree Collapse file tree 2 files changed +3
-9
lines changed Expand file tree Collapse file tree 2 files changed +3
-9
lines changed Original file line number Diff line number Diff line change @@ -75,10 +75,6 @@ export const manifests: Array<ManifestTypes> = [
75
75
} ,
76
76
{
77
77
alias : 'Umb.Condition.BlockWorkspaceHasSettings' ,
78
- } ,
79
- {
80
- alias : 'Umb.Condition.Switch' ,
81
- frequency : '2000'
82
78
}
83
79
] ,
84
80
} as any ,
Original file line number Diff line number Diff line change @@ -86,13 +86,11 @@ export class UmbSectionDefaultElement extends UmbLitElement implements UmbSectio
86
86
const api = await createExtensionApi ( this , extensionController . manifest ) ;
87
87
88
88
return {
89
- path :
89
+ path : (
90
90
api ?. getPath ?.( ) ||
91
91
extensionController . manifest . meta ?. path ||
92
- aliasToPath ( extensionController . manifest . alias ) ,
93
- // be aware that this is kind of a hack to pass the manifest element to the router. But as the two resolve components
94
- // in a similar way. I currently find it more safe to let the router do the component resolving instead
95
- // of replicating it as a custom resolver here.
92
+ aliasToPath ( extensionController . manifest . alias )
93
+ ) ,
96
94
component : ( ) => createExtensionElement ( extensionController . manifest ) ,
97
95
setup : ( element : PageComponent , info : IRoutingInfo ) => {
98
96
api ?. setup ?.( element , info ) ;
You can’t perform that action at this time.
0 commit comments