File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- < div class ="d-flex space-children-mr justify-content-end " *ngIf =" contextMenuObject " >
1+ < div class ="d-flex space-children-mr justify-content-end " dsRenderOnlyForBrowser >
22 < ng-container *ngFor ="let entry of (getStandAloneMenuEntries() | async) ">
33 < ng-container *ngComponentOutlet ="entry; injector: objectInjector; "> </ ng-container >
44 </ ng-container >
Original file line number Diff line number Diff line change @@ -61,8 +61,7 @@ export class ContextMenuComponent implements OnInit {
6161 private cdr : ChangeDetectorRef ,
6262 private configurationService : ConfigurationDataService ,
6363 private injector : Injector
64- ) {
65- }
64+ ) { }
6665
6766 ngOnInit ( ) : void {
6867 this . objectInjector = Injector . create ( {
@@ -91,7 +90,7 @@ export class ContextMenuComponent implements OnInit {
9190 private retrieveSelectedContextMenuEntries ( isStandAlone : boolean ) : Observable < any [ ] > {
9291 const list = this . contextMenuObjectType ? getContextMenuEntriesForDSOType ( this . contextMenuObjectType ) : [ ] ;
9392 return from ( list ) . pipe (
94- filter ( ( renderOptions : ContextMenuEntryRenderOptions ) => isNotEmpty ( renderOptions ?. componentRef ) && renderOptions ?. isStandAlone === isStandAlone ) ,
93+ filter ( ( renderOptions : ContextMenuEntryRenderOptions ) => isNotEmpty ( renderOptions ?. componentRef ) && renderOptions ?. isStandAlone === isStandAlone ) ,
9594 map ( ( renderOptions : ContextMenuEntryRenderOptions ) => renderOptions . componentRef ) ,
9695 concatMap ( ( constructor : GenericConstructor < ContextMenuEntryComponent > ) => {
9796 const entryComp : ContextMenuEntryComponent = new constructor ( ) ;
You can’t perform that action at this time.
0 commit comments