Skip to content

Commit e68fd39

Browse files
Revert "feat: add option to open link in new tab (#1019)" (#1023)
This reverts commit ece0d95.
1 parent 260b9f9 commit e68fd39

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

projects/components/src/link/link.component.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@ import { EMPTY, Observable } from 'rxjs';
1212
<a
1313
*htLetAsync="this.navData$ as navData"
1414
class="ht-link"
15-
target="{{ this.openInNewTab ? '_blank' : '' }}"
16-
rel="noopener noreferrer"
1715
[ngClass]="{ disabled: this.disabled || !navData }"
1816
[routerLink]="navData?.path"
1917
[queryParams]="navData?.extras?.queryParams"
@@ -29,9 +27,6 @@ export class LinkComponent implements OnChanges {
2927
@Input()
3028
public paramsOrUrl?: NavigationParams | string | null;
3129

32-
@Input()
33-
public openInNewTab?: boolean;
34-
3530
@Input()
3631
public disabled?: boolean;
3732

0 commit comments

Comments
 (0)