aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/shared/shared-main/buttons/button.component.html
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2023-08-18 11:09:34 +0200
committerChocobozzz <me@florianbigard.com>2023-08-18 11:09:34 +0200
commitca589b42f1159d4474d7803c02b0c90579316bd5 (patch)
treee55230c77ea379648dd8195c17ded8282199de65 /client/src/app/shared/shared-main/buttons/button.component.html
parentc925e99ca40c9077eda0f6b47e76c671189a661d (diff)
downloadPeerTube-ca589b42f1159d4474d7803c02b0c90579316bd5.tar.gz
PeerTube-ca589b42f1159d4474d7803c02b0c90579316bd5.tar.zst
PeerTube-ca589b42f1159d4474d7803c02b0c90579316bd5.zip
Fix button router link
Using the default one assigns the directive to the host, where we just want to put it inside the `my-button` component
Diffstat (limited to 'client/src/app/shared/shared-main/buttons/button.component.html')
-rw-r--r--client/src/app/shared/shared-main/buttons/button.component.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/client/src/app/shared/shared-main/buttons/button.component.html b/client/src/app/shared/shared-main/buttons/button.component.html
index 20c982744..d87e35876 100644
--- a/client/src/app/shared/shared-main/buttons/button.component.html
+++ b/client/src/app/shared/shared-main/buttons/button.component.html
@@ -1,8 +1,8 @@
1<button *ngIf="!routerLink" class="action-button" [ngClass]="classes" [ngbTooltip]="title"> 1<button *ngIf="!ptRouterLink" class="action-button" [ngClass]="classes" [ngbTooltip]="title">
2 <ng-container *ngTemplateOutlet="content"></ng-container> 2 <ng-container *ngTemplateOutlet="content"></ng-container>
3</button> 3</button>
4 4
5<a *ngIf="routerLink" class="action-button" [ngClass]="classes" [ngbTooltip]="title" [routerLink]="routerLink"> 5<a *ngIf="ptRouterLink" class="action-button" [ngClass]="classes" [ngbTooltip]="title" [routerLink]="ptRouterLink">
6 <ng-container *ngTemplateOutlet="content"></ng-container> 6 <ng-container *ngTemplateOutlet="content"></ng-container>
7</a> 7</a>
8 8