Open layer in new tab button

This commit is contained in:
Michał Zieliński
2023-11-07 00:19:21 +01:00
parent 550854ae95
commit f3cd7fe1ae
2 changed files with 22 additions and 3 deletions

View File

@@ -35,7 +35,17 @@
<td mat-cell *matCellDef="let element">{{LayerType[element.type]}}</td>
</ng-container>
<ng-container matColumnDef="opt">
<th mat-header-cell *matHeaderCellDef>&nbsp;</th>
<td mat-cell *matCellDef="let element">
<button mat-icon-button (click)="$event.stopPropagation(); openInNewTab(element)">
<mat-icon>add_to_home_screen</mat-icon>
</button>
</td>
</ng-container>
<tr mat-header-row *matHeaderRowDef="displayedColumns, sticky: false"></tr>
<tr mat-row *matRowDef="let row; columns: displayedColumns;" [routerLink]="['Detail/', row.id]"></tr>
<tr mat-row *matRowDef="let row; columns: displayedColumns;" [routerLink]="['Detail/', row.id]"
style="cursor: pointer"></tr>
</table>
<div (diunabiScrollEnd)="loadMore()"></div>