Skip to content

Commit

Permalink
Fixed time export
Browse files Browse the repository at this point in the history
  • Loading branch information
rmaffitsancsoft committed Aug 9, 2024
1 parent 7b9b0ce commit 628610b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/angular/hq/src/app/times/time-list/time-list.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import { PaginatorComponent } from '../../common/paginator/paginator.component';
import { SortIconComponent } from '../../common/sort-icon/sort-icon.component';
import { TimeService } from '../services/TimeService';
import { TimeSearchFilterComponent } from '../search-filter/time-search-filter/time-search-filter.component';
import { saveAs } from 'file-saver';
import saveAs from 'file-saver';
import { ToastService } from '../../services/toast.service';
import { InRolePipe } from '../../pipes/in-role.pipe';
import { HQRole } from '../../enums/hqrole';
Expand Down Expand Up @@ -203,6 +203,6 @@ export class TimeListComponent {
return;
}

await saveAs(result.file, result.fileName);
saveAs(result.file, result.fileName);
}
}

0 comments on commit 628610b

Please sign in to comment.