File tree 2 files changed +3
-7
lines changed
projects/fusio-sdk/src/lib/component/search 2 files changed +3
-7
lines changed Original file line number Diff line number Diff line change 5
5
< input type ="text " class ="form-control " name ="search " [(ngModel)] ="searchTerm " placeholder ="Search i.e. {{placeholder}} " />
6
6
< button *ngIf ="newClick.observed " type ="button " (click) ="doCreateClick() " class ="btn btn-primary fusio-btn-create "> < i class ="bi bi-plus "> </ i > </ button >
7
7
< 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 >
9
9
</ div >
10
10
</ form >
11
11
</ div >
Original file line number Diff line number Diff line change @@ -40,12 +40,8 @@ export class SearchComponent implements OnInit {
40
40
this . newClick . emit ( ) ;
41
41
}
42
42
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 ) ;
49
45
}
50
46
51
47
}
You can’t perform that action at this time.
0 commit comments