Skip to content

Commit 248f812

Browse files
committed
feat: added a report bug button
1 parent 4d4bdb7 commit 248f812

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

src/app/map/map.page.html

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,11 @@
5252
</div>
5353
</div>
5454
</div>
55-
<ion-fab *appUserHasRole="NON_PREMIUM_ROLES" vertical="bottom" horizontal="start" slot="fixed">
56-
<ion-fab-button (click)="router.navigate(['/premium'])">
55+
<ion-fab vertical="bottom" horizontal="start" slot="fixed">
56+
<ion-fab-button href="https://github.com/JanssenBrm/vineyards/issues/new?template=bug_report.md'">
57+
<ion-icon name="bug-outline"></ion-icon>
58+
</ion-fab-button>
59+
<ion-fab-button *appUserHasRole="NON_PREMIUM_ROLES" (click)="router.navigate(['/premium'])">
5760
<ion-icon name="diamond-outline"></ion-icon>
5861
</ion-fab-button>
5962
</ion-fab>

src/app/map/map.page.scss

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,3 +75,8 @@
7575
flex-direction: column;
7676
}
7777
}
78+
79+
80+
ion-fab-button {
81+
margin-top: .5rem;
82+
}

0 commit comments

Comments
 (0)