Skip to content

Commit

Permalink
Merge pull request #218 from venkykandagaddala/create-sectors
Browse files Browse the repository at this point in the history
KB- 	 KB-4360 and Fixed the margin of Edit or Add subsector button
  • Loading branch information
venkykandagaddala authored Apr 29, 2024
2 parents a834c03 + 8c7f97c commit 96022a1
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,19 +23,19 @@

<ng-container matColumnDef="{{col.key}}" *ngFor="let col of tableData!.columns">
<mat-header-cell *matHeaderCellDef mat-sort-header> {{col.displayName}} </mat-header-cell>
<mat-cell *matCellDef="let element" (click)="selection.toggle(element); onRowClick(element)">
<mat-cell *matCellDef="let element">
{{element[col.key]}}
</mat-cell>
</ng-container>
<ng-container matColumnDef="Actions" *ngIf="tableData!.actions && tableData!.actions.length > 0">
<mat-header-cell *matHeaderCellDef class="clr-darkish-blue action-header"> Actions </mat-header-cell>
<mat-cell *matCellDef="let row" class="action-cell">
<div *ngIf="row.subSector" class="text-right margin-right-xxl margin-bottom-m ng-star-inserted">
<div *ngIf="row.subSector" class="text-right margin-right-xxl margin-bottom-xs margin-top-xs">
<button class="mat-raised-button mat-button-base mat-primary" (click)="onClickButton(row)">
Edit
</button>
</div>
<div *ngIf="!row.subSector" class="text-right margin-right-xxl margin-bottom-m ng-star-inserted">
<div *ngIf="!row.subSector" class="text-right margin-right-xxl margin-bottom-xs margin-top-xs">
<button class="mat-raised-button mat-button-base mat-primary" (click)="onClickButton(row)">
Add Sub-sector
</button>
Expand All @@ -62,9 +62,9 @@

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

0 comments on commit 96022a1

Please sign in to comment.