Skip to content
This repository has been archived by the owner on Feb 3, 2024. It is now read-only.

Commit

Permalink
Merge pull request #3680 from jrjohnson/call-them-frontend
Browse files Browse the repository at this point in the history
Hide back link for frontend
  • Loading branch information
dartajax authored Feb 1, 2024
2 parents 93b410a + 56e03d6 commit 59c5fde
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/ilios-common/addon/controllers/events.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ import { getOwner } from '@ember/application';
export default class EventsController extends Controller {
get showBackLink() {
const config = getOwner(this).resolveRegistration('config:environment');
return config.modulePrefix !== 'ilios';
return config.modulePrefix !== 'ilios' && config.modulePrefix !== 'frontend';
}
}
2 changes: 1 addition & 1 deletion packages/ilios-common/addon/controllers/weeklyevents.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,6 @@ export default class WeeklyeventsController extends Controller {

get showBackLink() {
const config = getOwner(this).resolveRegistration('config:environment');
return config.modulePrefix !== 'ilios';
return config.modulePrefix !== 'ilios' && config.modulePrefix !== 'frontend';
}
}

0 comments on commit 59c5fde

Please sign in to comment.