Control-clicking file cards will now open the player in a new tab

This commit is contained in:
Isaac Abadi
2020-09-17 03:11:52 -04:00
parent 082252ab1e
commit 35d0d439fa
3 changed files with 20 additions and 12 deletions

View File

@@ -63,8 +63,8 @@ export class UnifiedFileCardComponent implements OnInit {
});
}
navigateToFile() {
this.goToFile.emit(this.file_obj);
navigateToFile(event) {
this.goToFile.emit({file: this.file_obj, event: event});
}
navigateToSubscription() {