Skip to content

Commit 225e8f2

Browse files
committed
fix: TT-430 test modified
1 parent dcc5ad3 commit 225e8f2

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

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)