remove donate button on desktop apps.

This commit is contained in:
Jason Kulatunga 2023-12-10 08:54:42 -08:00
parent a9ab79fb90
commit 7c6b180924
No known key found for this signature in database
2 changed files with 3 additions and 1 deletions

View File

@ -68,7 +68,7 @@
</div><!-- az-header-profile -->
<a (click)="openSupportForm(content)" class="dropdown-item cursor-pointer"><i style="font-size: medium;" class="fas fa-question-circle"></i> Get Support</a>
<a class="dropdown-item cursor-pointer" href="https://docs.fastenhealth.com/FUNDRAISING.html" externalLink><i style="font-size: medium;" class="fas fa-hand-holding-medical"></i> Donate</a>
<a *ngIf="!is_environment_desktop" class="dropdown-item cursor-pointer" href="https://docs.fastenhealth.com/FUNDRAISING.html" externalLink><i style="font-size: medium;" class="fas fa-hand-holding-medical"></i> Donate</a>
<a (click)="signOut($event)" class="dropdown-item cursor-pointer"><i style="font-size: medium;" class="fas fa-power-off"></i> Sign Out</a>
</div><!-- dropdown-menu -->
</div>

View File

@ -27,6 +27,8 @@ export class HeaderComponent implements OnInit, OnDestroy {
routerSubscription: Subscription = null
is_environment_desktop: boolean = environment.environment_desktop
constructor(
private authService: AuthService,
private router: Router,