Skip to content

Commit 9f75e65

Browse files
arbrandesclaude
andcommitted
feat: opt into the masquerade bar slot
Declares the instructor-dashboard's route role under the providesMasqueradeBarRolesId so the shell's masquerade bar renders on this app's routes alongside the existing course navigation bar. Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 9ffd17a commit 9f75e65

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

src/provides.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
1-
import { providesCourseNavigationRolesId } from '@openedx/frontend-base';
1+
import { providesCourseNavigationRolesId, providesMasqueradeBarRolesId } from '@openedx/frontend-base';
22
import { instructorDashboardRole } from './constants';
33

44
const provides = {
5-
[providesCourseNavigationRolesId]: instructorDashboardRole
5+
[providesCourseNavigationRolesId]: instructorDashboardRole,
6+
[providesMasqueradeBarRolesId]: instructorDashboardRole,
67
};
78

89
export default provides;

0 commit comments

Comments
 (0)