Skip to content

Commit

Permalink
Merge pull request #477 from correctexam/468-bump-dependencies-to-ang…
Browse files Browse the repository at this point in the history
…ular-17

correct two minor regressions
  • Loading branch information
barais authored Jan 27, 2024
2 parents 5fd38ae + 78c3040 commit 9b4b55c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
/* eslint-disable no-console */
/* eslint-disable @angular-eslint/no-empty-lifecycle-method */
/* eslint-disable @typescript-eslint/no-empty-function */
import { AfterViewInit, Component, HostListener, OnInit, ViewChild, effect, signal } from '@angular/core';
import { AfterViewInit, Component, HostListener, OnInit, ViewChild, effect } from '@angular/core';
import { ExamService } from '../../entities/exam/service/exam.service';
import { ZoneService } from '../../entities/zone/service/zone.service';
import { CourseService } from 'app/entities/course/service/course.service';
Expand Down Expand Up @@ -502,7 +502,7 @@ export class AssocierCopiesEtudiantsComponent implements OnInit, AfterViewInit {

goToStudent(i: number): void {
if (this.list !== undefined) {
this.list._filterValue = signal('');
this.list._filterValue.set('');
// this.list._filteredOptions = this.list._options();
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -443,7 +443,7 @@ export class ChargerscanComponent implements OnInit {
console.log(`Finished tasks: ${pool.processedCount()}`);
})*/
.onTaskFinished((page, pool) => {
this.progress = pool.processedPercentage();
this.progress = Math.round(pool.processedPercentage() * 10) / 10;
this.avancement = this.currentPageAlignOver;
this.currentPageAlignOver = this.currentPageAlignOver + 1;
this.submessage = '' + this.avancement + this.avancementunit;
Expand All @@ -461,7 +461,7 @@ export class ChargerscanComponent implements OnInit {
// this.blob = undefined;
// this.blob1 = undefined;
// this.phase1 = false;
this.blocked = false;
// this.blocked = false;
this.firstPageToLoad = 0;
if (this.viewcomponent !== undefined) {
this.viewcomponent.update();
Expand Down

0 comments on commit 9b4b55c

Please sign in to comment.