Skip to content

Commit 3dbbbad

Browse files
author
Edgar Guaman
committed
code-smell: TT-337 Deleting unused variables and fixing code smells
1 parent 5ab32aa commit 3dbbbad

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

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

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,13 @@ import { SetActivityToEdit } from '../store';
99
styleUrls: ['./activities-management.component.scss'],
1010
})
1111
export class ActivitiesManagementComponent {
12-
@Output() sendChanges = new EventEmitter<boolean>();
1312
@Output() closeActivityForm = new EventEmitter<boolean>();
1413
showActivityForm = false;
15-
hasChangeComponent = false;
16-
hasChanged: boolean;
1714
constructor(private store: Store<Activity>) {}
1815

1916
activateActivityForm() {
2017
this.store.dispatch(new SetActivityToEdit(null));
21-
!this.showActivityForm ? this.showActivityForm = true : this.showActivityForm = false;
18+
this.showActivityForm = true;
2219
}
2320

2421
closeFormActivity(event) {

0 commit comments

Comments
 (0)