We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4f65226 + 9ea55ad commit c081dd2Copy full SHA for c081dd2
app/controllers/track.ts
@@ -10,10 +10,6 @@ export default class TrackController extends Controller {
10
@service declare authenticator: AuthenticatorService;
11
12
get courses(): CourseModel[] {
13
- if (this.authenticator.currentUser && this.authenticator.currentUser.isStaff) {
14
- return this.model.courses;
15
- }
16
-
17
return this.model.courses.rejectBy('releaseStatusIsAlpha').rejectBy('releaseStatusIsDeprecated').rejectBy('visibilityIsPrivate');
18
}
19
0 commit comments