fix old attachments article info

This commit is contained in:
Kyle Spearrin 2018-11-16 09:17:33 -05:00
parent afd7a0494f
commit 384978a511
3 changed files with 5 additions and 3 deletions

2
jslib

@ -1 +1 @@
Subproject commit be080f4f17b782fdb22c77560bd235e81346fb21
Subproject commit 464bca8c4d745eb86bdb0b36e6e4a983caa3c891

View File

@ -144,7 +144,8 @@ export class ChangePasswordComponent implements OnInit {
this.i18nService.t('oldAttachmentsNeedFixDesc'), null,
this.i18nService.t('learnMore'), this.i18nService.t('close'), 'warning');
if (learnMore) {
this.platformUtilsService.launchUri('https://help.bitwarden.com/article/attachments/');
this.platformUtilsService.launchUri(
'http://localhost:4009/article/attachments/#fixing-old-attachments');
}
this.rotateEncKey = false;
return;

View File

@ -22,7 +22,8 @@
<div class="d-flex">
<a href="#" appStopClick (click)="download(a)">{{a.fileName}}</a>
<div *ngIf="showFixOldAttachments(a)" class="ml-2">
<a href="https://help.bitwarden.com/article/attachments/" target="_blank" rel="noopener">
<a href="http://localhost:4009/article/attachments/#fixing-old-attachments"
target="_blank" rel="noopener">
<i class="fa fa-exclamation-triangle text-warning" title="{{'attachmentFixDesc' | i18n}}"></i></a>
<button type="button" class="btn btn-outline-primary btn-sm m-0 py-0 px-2"
(click)="reupload(a)" #reuploadBtn [appApiAction]="reuploadPromises[a.id]"