1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-15 07:43:35 +00:00

fix old attachments by reuploading them

This commit is contained in:
Kyle Spearrin
2018-11-14 15:20:17 -05:00
parent 9d4d64c95a
commit 8232a4c9c8
9 changed files with 62 additions and 7 deletions

View File

@@ -127,4 +127,8 @@ export class CiphersComponent extends BaseCiphersComponent implements OnDestroy
protected deleteCipher(id: string) {
return this.cipherService.deleteWithServer(id);
}
protected showFixOldAttachments(c: CipherView) {
return c.hasOldAttachments && c.organizationId == null;
}
}