Commit 30a2a74b authored by Kristjan Kruus's avatar Kristjan Kruus

Fix button class

parent e4278edd
......@@ -34,7 +34,7 @@
<ng-container *ngIf="card.actions && card.actions.buttons">
<span *ngFor="let button of card.actions.buttons">
<a *ngIf="button.type !== 'external'" [routerLink]="[button.link]" class="btn btn-primary btn-lg btn-01" role="button">{{button.label}}</a>
<a *ngIf="button.type === 'external'" target="_blank" href="{{button.link}}" role="button">{{button.label}}</a>
<a *ngIf="button.type === 'external'" target="_blank" href="{{button.link}}" class="btn btn-primary btn-lg btn-01" role="button">{{button.label}}</a>
</span>
</ng-container>
</div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment