Skip to content

Commit a31afbe

Browse files
authored
Merge pull request #3244 from codecrafters-io/andy/tweak
Open course admin submissions in a new tab instead of transitioning
2 parents a5e05cc + ecaaafc commit a31afbe

File tree

1 file changed

+1
-1
lines changed
  • app/components/course-page/repository-dropdown

1 file changed

+1
-1
lines changed

app/components/course-page/repository-dropdown/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ export default class CoursePageRepositoryDropdown extends Component<Signature> {
4444
@action
4545
async handleAdminButtonClick(dropdownActions: { close: () => void }) {
4646
dropdownActions.close();
47-
this.router.transitionTo('course-admin.submissions', this.args.activeRepository.course.slug);
47+
window.open(this.router.urlFor('course-admin.submissions', this.args.activeRepository.course.slug), '_blank');
4848
}
4949

5050
@action

0 commit comments

Comments
 (0)