Skip to content

Commit

Permalink
change onclick to click because onclick doesnt work
Browse files Browse the repository at this point in the history
  • Loading branch information
nevio18324 committed Nov 19, 2024
1 parent e74c6c9 commit 4525f96
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
id="hilfeButton"
[attr.data-testId]="'help-button'"
class="topBarEntry btn"
onclick="window.open(supportSiteUrl, '_blank')"
(click)="window.open(supportSiteUrl, '_blank')"
>
<mat-icon aria-hidden="false" aria-label="Help icon" fontIcon="help_outline"></mat-icon>
<span class="d-none d-md-flex"> Hilfe </span>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { ChangeDetectionStrategy, ChangeDetectorRef, Component, OnDestroy, OnInit } from '@angular/core';
import { OAuthService } from 'angular-oauth2-oidc';
import { BehaviorSubject, Subscription } from 'rxjs';
import { BehaviorSubject, Subscription, window } from 'rxjs';
import { ConfigService } from '../../services/config.service';
import { NavigationEnd, Router } from '@angular/router';
import { UserService } from '../../services/user.service';
Expand Down Expand Up @@ -61,4 +61,6 @@ export class ApplicationTopBarComponent implements OnInit, OnDestroy {
}
});
}

protected readonly window = window;
}

0 comments on commit 4525f96

Please sign in to comment.