File tree Expand file tree Collapse file tree 2 files changed +16
-7
lines changed Expand file tree Collapse file tree 2 files changed +16
-7
lines changed Original file line number Diff line number Diff line change 90
90
>
91
91
< mat-tab >
92
92
< ng-template mat-tab-label >
93
- < ion-icon
94
- src ="/assets/images/icons/search.svg "
95
- class ="tab-action-button-icon "
96
- joyrideStep ="highlightHomeTab "
97
- title ="Home Tab "
98
- text ="View created captures "
99
- > </ ion-icon >
93
+ < button mat-icon-button (click) ="navigateToExploreTab() ">
94
+ < ion-icon
95
+ src ="/assets/images/icons/search.svg "
96
+ class ="tab-action-button-icon "
97
+ joyrideStep ="highlightHomeTab "
98
+ title ="Home Tab "
99
+ text ="View created captures "
100
+ > </ ion-icon >
101
+ </ button >
100
102
</ ng-template >
101
103
< app-explore-tab > </ app-explore-tab >
102
104
</ mat-tab >
Original file line number Diff line number Diff line change @@ -346,6 +346,13 @@ export class HomePage {
346
346
. subscribe ( ) ;
347
347
}
348
348
349
+ // eslint-disable-next-line class-methods-use-this
350
+ navigateToExploreTab ( ) {
351
+ if ( this . selectedTabIndex === 0 ) {
352
+ window . location . reload ( ) ;
353
+ }
354
+ }
355
+
349
356
async navigateToInboxTab ( ) {
350
357
await this . userGuideService . showUserGuidesOnInboxTab ( ) ;
351
358
await this . userGuideService . setHasOpenedInboxTab ( true ) ;
You can’t perform that action at this time.
0 commit comments