Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
code-smell: TT-337 Deleting unused variables and fixing code smells
  • Loading branch information
Edgar Guaman committed Sep 20, 2021
commit 3dbbbad038c9f3926c3181ee52f275e8ff12bd6d
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,13 @@ import { SetActivityToEdit } from '../store';
styleUrls: ['./activities-management.component.scss'],
})
export class ActivitiesManagementComponent {
@Output() sendChanges = new EventEmitter<boolean>();
@Output() closeActivityForm = new EventEmitter<boolean>();
showActivityForm = false;
hasChangeComponent = false;
hasChanged: boolean;
constructor(private store: Store<Activity>) {}

activateActivityForm() {
this.store.dispatch(new SetActivityToEdit(null));
!this.showActivityForm ? this.showActivityForm = true : this.showActivityForm = false;
this.showActivityForm = true;
}

closeFormActivity(event) {
Expand Down