bug

parent b449b5b6
......@@ -53,10 +53,10 @@ import { HelperDataService } from "../../services/helper-data-service";
</div>
<div class = "row" *ngFor="let CoursesNames$ of CoursesPerPerf$ | async; let j=index; let isOdd2=odd; let isEven2=even"
[class.oddin]="isOdd2" [class.evenin]="isEven2" [class.changecolor]="calccolor(CoursesNames$.size,CoursesNames$.limitdown)"
[class.changecolorbalck]="calccolor(CoursesNames$.limitdown, CoursesNames$.size)"
[class.oddin]="isOdd2" [class.evenin]="isEven2" [class.changecolor]="calccolor(CoursesNames$.sizeconfirm,CoursesNames$.limitdown)"
[class.changecolorbalck]="calccolor(CoursesNames$.limitdown, CoursesNames$.sizeconfirm)"
[class.selectedappout]="regionActive === j"
[hidden]="(SchoolNames$.id !== regionActive) ||(calccolor(CoursesNames$.size,CoursesNames$.limitdown) === false) "
[hidden]="(SchoolNames$.id !== regionActive) ||(calccolor(CoursesNames$.sizeconfirm,CoursesNames$.limitdown) === false) "
style="margin: 0px 2px 0px 2px;" >
......
......@@ -29,7 +29,7 @@ import { IAppState } from "../../store/store";
</div>
</div>
<div style="min-height: 500px;">
<form>
......@@ -62,10 +62,10 @@ import { IAppState } from "../../store/store";
</div>
<div class = "row" *ngFor="let CoursesNames$ of CoursesPerPerf$ | async; let j=index; let isOdd2=odd; let isEven2=even"
[class.oddin]="isOdd2" [class.evenin]="isEven2" [class.changecolor]="calccolor(CoursesNames$.size,CoursesNames$.limitdown)"
[class.changecolorbalck]="calccolor(CoursesNames$.limitdown, CoursesNames$.size)"
[class.oddin]="isOdd2" [class.evenin]="isEven2" [class.changecolor]="calccolor(CoursesNames$.sizeconfirm,CoursesNames$.limitdown)"
[class.changecolorbalck]="calccolor(CoursesNames$.limitdown, CoursesNames$.sizeconfirm)"
[class.selectedappout]="regionActive === j"
[hidden]="(SchoolNames$.id !== regionActive) ||(calccolor(CoursesNames$.size,CoursesNames$.limitdown) === false) "
[hidden]="(SchoolNames$.id !== regionActive) ||(calccolor(CoursesNames$.sizeconfirm,CoursesNames$.limitdown) === false) "
style="margin: 0px 2px 0px 2px;" >
......@@ -203,6 +203,7 @@ import { IAppState } from "../../store/store";
calccolor(size, limit) {
console.log(size, limit, "oria");
if (size < limit)
return true;
else
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment