File tree Expand file tree Collapse file tree 2 files changed +3
-7
lines changed
projects/fusio-sdk/src/lib/component/search Expand file tree Collapse file tree 2 files changed +3
-7
lines changed Original file line number Diff line number Diff line change 55 < input type ="text " class ="form-control " name ="search " [(ngModel)] ="searchTerm " placeholder ="Search i.e. {{placeholder}} " />
66 < button *ngIf ="newClick.observed " type ="button " (click) ="doCreateClick() " class ="btn btn-primary fusio-btn-create "> < i class ="bi bi-plus "> </ i > </ button >
77 < button *ngFor ="let button of buttons " type ="button " [routerLink] ="button.routerLink " class ="btn btn-secondary "> < i class ="bi {{button.icon}} "> </ i > </ button >
8- < button *ngIf ="helpPath " type ="button " (click) ="showHelp() " class ="btn btn-secondary fusio-btn-help "> < i class ="bi bi-question "> </ i > </ button >
8+ < button *ngIf ="helpPath " type ="button " (click) ="showHelp(helpPath ) " class ="btn btn-secondary fusio-btn-help "> < i class ="bi bi-question "> </ i > </ button >
99 </ div >
1010 </ form >
1111</ div >
Original file line number Diff line number Diff line change @@ -40,12 +40,8 @@ export class SearchComponent implements OnInit {
4040 this . newClick . emit ( ) ;
4141 }
4242
43- showHelp ( ) {
44- if ( ! this . helpPath ) {
45- return ;
46- }
47-
48- this . help . showDialog ( this . helpPath ) ;
43+ showHelp ( path : string ) {
44+ this . help . showDialog ( path ) ;
4945 }
5046
5147}
You can’t perform that action at this time.
0 commit comments