Chore: Moved edit and delete in guestbook to the details from list.

This will give more space.
Also removed the old table button
This commit is contained in:
2023-08-17 22:18:14 +05:30
parent e8a33cd80e
commit 1cb2677ad1
4 changed files with 35 additions and 38 deletions

View File

@ -29,7 +29,9 @@
<!-- Name Column -->
<ng-container matColumnDef="name">
<mat-header-cell *matHeaderCellDef>Name</mat-header-cell>
<mat-cell *matCellDef="let row">{{ row.name }}</mat-cell>
<mat-cell *matCellDef="let row"
><a [routerLink]="['/guest-book/', row.id]">{{ row.name }}</a></mat-cell
>
</ng-container>
<!-- Phone Column -->
@ -71,7 +73,7 @@
>
{{ row.tableName }}
</button>
<button
<!-- <button
mat-stroked-button
color="primary"
[routerLink]="['/sales', 'bill']"
@ -79,13 +81,7 @@
*ngIf="!row.tableId && row.voucherId"
>
{{ row.tableName }}
</button>
<button mat-icon-button [routerLink]="['/guest-book/', row.id]">
<mat-icon>edit</mat-icon>
</button>
<button mat-icon-button color="warn" (click)="confirmDelete(row.id)">
<mat-icon>delete</mat-icon>
</button>
</button> -->
</mat-cell>
</ng-container>