mirror of
https://github.com/bitwarden/web
synced 2025-12-06 00:03:28 +00:00
add download file function for attachments
This commit is contained in:
2
jslib
2
jslib
Submodule jslib updated: 8a1bc30fc9...4c083eeb92
@@ -15,7 +15,8 @@
|
||||
<tbody>
|
||||
<tr *ngFor="let a of cipher.attachments">
|
||||
<td>
|
||||
{{a.fileName}}
|
||||
<a href="#" appStopClick appBlurCLick (click)="download(a)">{{a.fileName}}</a>
|
||||
<i class="fa fa-spinner fa-fw fa-spin text-muted" *ngIf="a.downloading"></i>
|
||||
<br>
|
||||
<small>{{a.sizeName}}</small>
|
||||
</td>
|
||||
|
||||
@@ -21,6 +21,6 @@ export class AttachmentsComponent extends BaseAttachmentsComponent {
|
||||
cryptoService: CryptoService, tokenService: TokenService,
|
||||
platformUtilsService: PlatformUtilsService) {
|
||||
super(cipherService, analytics, toasterService, i18nService, cryptoService, tokenService,
|
||||
platformUtilsService);
|
||||
platformUtilsService, window);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user