Skip to content
Snippets Groups Projects
Commit 1a8694a9 authored by Guillaume Heurtier's avatar Guillaume Heurtier
Browse files

FEAT #11403 TIME 0:10 changed follow icon color

parent f17a5269
No related branches found
No related tags found
No related merge requests found
......@@ -166,7 +166,7 @@
</div>
<div class="content">
<button mat-button class="categoryLabel" (click)="toggleFollow()">
<mat-icon color="primary" class="{{this.resourceFollowed ? 'fas':'far'}} fa-star"
<mat-icon class="followIcon {{this.resourceFollowed ? 'fas':'far'}} fa-star"
style="font-size: 20px;"></mat-icon>
</button>
<div class="content-item" *ngIf="this.currentResourceInformations.priority !== undefined">
......
......@@ -409,4 +409,8 @@
::ng-deep.mat-form-field-wrapper {
padding-bottom: 0px;
}
}
\ No newline at end of file
}
.followIcon {
color: #F99830;
}
......@@ -230,6 +230,7 @@ export class ProcessComponent implements OnInit {
this.http.get(`../../rest/resources/${this.currentResourceInformations.resId}?light=true`).pipe(
tap((data: any) => {
this.currentResourceInformations = data;
this.resourceFollowed = data.followed;
this.loadBadges();
this.loadSenders();
this.headerService.setHeader(this.lang.eventProcessDoc, this.lang[this.currentResourceInformations.categoryId]);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment