Commit 105faf20 authored by Lukas Burgey's avatar Lukas Burgey
Browse files

Fix support button

parent 0135b786
......@@ -84,7 +84,7 @@
<!-- contacts column -->
<td >
<button mat-button mat-icon-button href="mailto:{{ service.contact_email }}?Subject=%5BFEUDAL%5D%0A">
<button mat-button mat-icon-button matTooltip="{{ service.contact_email }}" (click)="contactSupport()">
<mat-icon>contact_support</mat-icon>
</button>
<br>
......
......@@ -52,4 +52,8 @@ export class StateComponent implements OnInit {
}
}
public contactSupport() {
window.location.href = 'mailto:' + this.service.contact_email + '?subject=%5BFEUDAL%5D%20Help%20request%0A';
}
}
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