Skip to content

Commit

Permalink
show "on air" sidebar widget to students too
Browse files Browse the repository at this point in the history
  • Loading branch information
luniki committed Mar 31, 2020
1 parent cbfbb0b commit f9fe989
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/views/sidebar/view.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export default View.extend({
this.addRegion('onAirRegion', { el: '#sidebar-navigation + div', replaceElement: true })
if (userRole('lecturer')) {
this.showChildView('navigation', new WidgetTaskGroups({ collection: store.taskGroups, store }))
this.showChildView('onAirRegion', new WidgetOnAir({ store }))
}
this.showChildView('onAirRegion', new WidgetOnAir({ store }))
}
})

0 comments on commit f9fe989

Please sign in to comment.