Skip to content

Commit 96022a1

Browse files
Merge pull request #218 from venkykandagaddala/create-sectors
KB- KB-4360 and Fixed the margin of Edit or Add subsector button
2 parents a834c03 + 8c7f97c commit 96022a1

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

project/ws/app/src/lib/routes/home/routes/sectors/sector-list-view/sector-list-view.component.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,19 +23,19 @@
2323

2424
<ng-container matColumnDef="{{col.key}}" *ngFor="let col of tableData!.columns">
2525
<mat-header-cell *matHeaderCellDef mat-sort-header> {{col.displayName}} </mat-header-cell>
26-
<mat-cell *matCellDef="let element" (click)="selection.toggle(element); onRowClick(element)">
26+
<mat-cell *matCellDef="let element">
2727
{{element[col.key]}}
2828
</mat-cell>
2929
</ng-container>
3030
<ng-container matColumnDef="Actions" *ngIf="tableData!.actions && tableData!.actions.length > 0">
3131
<mat-header-cell *matHeaderCellDef class="clr-darkish-blue action-header"> Actions </mat-header-cell>
3232
<mat-cell *matCellDef="let row" class="action-cell">
33-
<div *ngIf="row.subSector" class="text-right margin-right-xxl margin-bottom-m ng-star-inserted">
33+
<div *ngIf="row.subSector" class="text-right margin-right-xxl margin-bottom-xs margin-top-xs">
3434
<button class="mat-raised-button mat-button-base mat-primary" (click)="onClickButton(row)">
3535
Edit
3636
</button>
3737
</div>
38-
<div *ngIf="!row.subSector" class="text-right margin-right-xxl margin-bottom-m ng-star-inserted">
38+
<div *ngIf="!row.subSector" class="text-right margin-right-xxl margin-bottom-xs margin-top-xs">
3939
<button class="mat-raised-button mat-button-base mat-primary" (click)="onClickButton(row)">
4040
Add Sub-sector
4141
</button>
@@ -62,9 +62,9 @@
6262

6363
</mat-table>
6464
<div class="no-information-found" *ngIf="dataSource.filteredData.length===0">
65-
<div class="text-center margin-m ng-star-inserted"><img _ngcontent-fua-c31="" alt="No Content found"
65+
<div class="text-center margin-m ng-star-inserted"><img _ngcontent-fua-c31="" alt="No Data Found"
6666
class="block mx-auto mb-3" src="/assets/instances/eagle/app_logos/allocation_empty.svg"><span
67-
_ngcontent-fua-c31="" class="block mat-subheading-2 mt-3">No Content Found</span>
67+
_ngcontent-fua-c31="" class="block mat-subheading-2 mt-3">No Data Found</span>
6868
</div>
6969
</div>
7070
<mat-paginator [length]="length" [pageSize]="pageSize" [pageSizeOptions]="pageSizeOptions"

0 commit comments

Comments
 (0)