Skip to content
This repository has been archived by the owner on Jan 8, 2024. It is now read-only.

Commit

Permalink
add is live button to categorization page
Browse files Browse the repository at this point in the history
  • Loading branch information
Mostafa Abdelbaky committed Oct 20, 2021
1 parent d22b1bd commit 7ecc237
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,14 @@ <h4>Proxy Categorization - Domains To Submit</h4>
<mat-panel-title>
{{ domain.domain_name }}
</mat-panel-title>
<mat-icon
*ngIf="domain.is_active"
aria-hidden="false"
aria-label="check_circle icon"
class="domain-icon"
>
check_circle</mat-icon
>
<button
*ngIf="!domain.email_active"
mat-raised-button
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,8 @@ mat-panel-title {
.domain-button {
margin-right: 20px;
}

.domain-icon {
margin-top: 3px;
margin-right: 20px;
}
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ export class CategorizationSubmitComponent {
domain_name: cd.domain_name,
domain_id: cd.domain_id,
email_active: success.is_email_active,
is_active: success.is_active,
categories: new MatTableDataSource<any>(
this.categoryData.filter(
(x) => x.domain_name == cd.domain_name
Expand Down

0 comments on commit 7ecc237

Please sign in to comment.