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.
1 parent 3530fd5 commit 9ea55adCopy full SHA for 9ea55ad
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.rejectBy('releaseStatusIsDeprecated');
15
- }
16
-
17
return this.model.courses.rejectBy('releaseStatusIsAlpha').rejectBy('releaseStatusIsDeprecated').rejectBy('visibilityIsPrivate');
18
}
19
0 commit comments