Skip to content

Commit 0a96e50

Browse files
authored
feat: TT-430 read activities in localhost (#774)
* feat: TT-430 status column label showed * fix: TT-430 test modified
1 parent 909a3f9 commit 0a96e50

File tree

2 files changed

+2
-8
lines changed

2 files changed

+2
-8
lines changed

src/app/modules/activities-management/components/activity-list/activity-list.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<th class="col-4 text-center">Activity ID</th>
66
<th class="col-4 text-center">Activity</th>
77
<th class="col-2 text-center" *ngIf="showOptionInDevelopment">Options</th>
8-
<th scope="col" class="col-2 text-center" *ngIf="showOptionInDevelopment">Status</th>
8+
<th scope="col" class="col-2 text-center">Status</th>
99
</tr>
1010
</thead>
1111
<app-loading-bar *ngIf="isLoading$ | async"></app-loading-bar>

src/app/modules/activities-management/pages/activities-management.component.ts

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,6 @@ export class ActivitiesManagementComponent implements OnInit {
1111
showOptionInDevelopment = true;
1212

1313
ngOnInit() {
14-
this.showOption();
15-
}
16-
17-
showOption(): void {
18-
if (environment.production){
19-
this.showOptionInDevelopment = false;
20-
}
14+
this.showOptionInDevelopment = !environment.production;
2115
}
2216
}

0 commit comments

Comments
 (0)