Skip to content
Snippets Groups Projects
Commit 72696a10 authored by Isaac Evavold's avatar Isaac Evavold
Browse files

ROENROLL-1758 fix grades switch to correctly handle missing user pref

parent 5af1ed07
No related branches found
No related tags found
No related merge requests found
......@@ -85,10 +85,7 @@ export class DegreePlannerComponent implements OnInit {
filter(isntUndefined),
);
this.showGrades$ = this.store.pipe(
select(selectors.getUserPreference, 'degreePlannerGradesVisibility'),
map(showGrades => showGrades === true),
);
this.showGrades$ = this.store.pipe(select(selectors.selectGradeVisibility));
this.hasDismissedIEWarning$ = this.store.pipe(
select(selectors.getUserPreference, 'degreePlannerHasDismissedIEWarning'),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment