mirror of
https://github.com/Myxelium/Bridge-Multi.git
synced 2026-04-11 22:29:38 +00:00
18 lines
458 B
TypeScript
18 lines
458 B
TypeScript
import { Component, HostBinding } from '@angular/core'
|
|
|
|
import { DownloadService } from '../../../../core/services/download.service'
|
|
|
|
@Component({
|
|
selector: 'app-downloads-modal',
|
|
templateUrl: './downloads-modal.component.html',
|
|
})
|
|
export class DownloadsModalComponent {
|
|
@HostBinding('class.contents') contents = true
|
|
|
|
constructor(public downloadService: DownloadService) { }
|
|
|
|
showFile(filepath: string) {
|
|
window.electron.emit.showFile(filepath)
|
|
}
|
|
}
|