Skip to content
Snippets Groups Projects
Commit 6cc25190 authored by Lukas Mauß's avatar Lukas Mauß Committed by Tom Käsler
Browse files

Fix user role check for export button

parent ab531621
1 merge request!171SWTP Comment Project
......@@ -7,7 +7,7 @@
<button mat-button *ngIf="searchBox.value || isIconHide" (click)="hideCommentsList=false; searchBox.value=''; isIconHide=false">
<mat-icon>close</mat-icon>
</button>
<button mat-button *ngIf="!searchBox.value && userRole === '1' && comments.length > 0"
<button mat-button *ngIf="!searchBox.value && userRole === 1 && comments.length > 0"
[matTooltip]="'Export comments'" (click)="export(true)">
<mat-icon class="add-icon" id="export-icon">cloud_download</mat-icon>
</button>
......
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