Skip to content

Commit b4569d3

Browse files
Mutugiiidogi
andauthored
courses: smoother checkbox display state (fixes #9143) (#9251)
Co-authored-by: dogi <[email protected]>
1 parent 28bdaea commit b4569d3

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
{
22
"name": "planet",
33
"license": "AGPL-3.0",
4-
"version": "0.20.58",
4+
"version": "0.20.59",
55
"myplanet": {
6-
"latest": "v0.35.64",
7-
"min": "v0.34.64"
6+
"latest": "v0.35.82",
7+
"min": "v0.34.82"
88
},
99
"scripts": {
1010
"ng": "ng",

src/app/courses/search-courses/courses-search.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ export class CoursesSearchListComponent {
4949
}
5050

5151
isSelected(item) {
52-
return this.selected.indexOf(item) > -1;
52+
return this.selected.indexOf(item.value) > -1;
5353
}
5454

5555
}

src/app/resources/search-resources/resources-search.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ export class ResourcesSearchListComponent {
5050
}
5151

5252
isSelected(item) {
53-
return this.selected.indexOf(item) > -1;
53+
return this.selected.indexOf(item.value) > -1;
5454
}
5555

5656
}

0 commit comments

Comments
 (0)