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
Prev Previous commit
test: #228 Improving test coverage and adding jquery to test environment
  • Loading branch information
Juan Gabriel Guzman committed May 21, 2020
commit 5e17dc8b761032827f10f54842aa5156b8dcb1e5
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@ import * as projectActions from '../../../customer-management/components/project
import {EntryState} from '../../../time-clock/store/entry.reducer';
import * as entryActions from '../../../time-clock/store/entry.actions';
import {getUpdateError, getCreateError} from 'src/app/modules/time-clock/store/entry.selectors';
// import $ from 'jquery';
// import 'bootstrap';
type Merged = TechnologyState & ProjectState & ActivityState & EntryState;

@Component({
Expand Down Expand Up @@ -57,7 +55,6 @@ export class DetailsFieldsComponent implements OnChanges, OnInit {
uri: '',
technology: '',
});
// $('[data-toggle="tooltip"]').tooltip();
}

ngOnInit(): void {
Expand Down Expand Up @@ -150,10 +147,12 @@ export class DetailsFieldsComponent implements OnChanges, OnInit {
get end_hour() {
return this.entryForm.get('end_hour');
}

/* istanbul ignore next */
closeEntryModal() {
this.close();
this.closeModal.nativeElement.click();
if (this.closeModal.nativeElement) {
this.closeModal.nativeElement.click();
}
}

close() {
Expand Down