Files
Bridge-Multi/src-angular/app/components/browse/status-bar/downloads-modal/downloads-modal.component.ts
2023-12-25 02:49:46 -06:00

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)
}
}