Invite collaborators will show only to DMP owner on overview

This commit is contained in:
George Kalampokis 2020-03-13 18:38:33 +02:00
parent 389c41fedc
commit ec0fd47021
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@
<mat-icon class="more-horiz">more_horiz</mat-icon>
</button>
<mat-menu #actionsMenu="matMenu" xPosition="before">
<button mat-menu-item (click)="openShareDialog(dmp.id,dmp.label)">
<button *ngIf="isUserOwner" mat-menu-item (click)="openShareDialog(dmp.id,dmp.label)">
<mat-icon>share</mat-icon>{{'DMP-LISTING.ACTIONS.INVITE' | translate}}
</button>
<!-- <button *ngIf="isDraftDmp(dmp) && isUserOwner" mat-menu-item (click)="addDataset(dmp.id)">