mirror of
https://github.com/bitwarden/browser
synced 2025-12-19 09:43:23 +00:00
[PM-16707] - show password history for hidden field types (#13199)
* don't limit password history to login types * don't display password change date if it's not present
This commit is contained in:
@@ -10,15 +10,15 @@
|
||||
<p
|
||||
class="tw-text-xs tw-text-muted tw-select-none"
|
||||
[ngClass]="{
|
||||
'tw-mb-1 ': cipher.hasPasswordHistory && isLogin,
|
||||
'tw-mb-0': !cipher.hasPasswordHistory || !isLogin,
|
||||
'tw-mb-1 ': cipher.hasPasswordHistory,
|
||||
'tw-mb-0': !cipher.hasPasswordHistory,
|
||||
}"
|
||||
>
|
||||
<span class="tw-font-bold">{{ "dateCreated" | i18n }}:</span>
|
||||
{{ cipher.creationDate | date: "medium" }}
|
||||
</p>
|
||||
<p
|
||||
*ngIf="cipher.hasPasswordHistory && isLogin"
|
||||
*ngIf="cipher.passwordRevisionDisplayDate"
|
||||
class="tw-text-xs tw-text-muted tw-select-none"
|
||||
[ngClass]="{ 'tw-mb-3': cipher.hasPasswordHistory }"
|
||||
>
|
||||
@@ -26,7 +26,7 @@
|
||||
{{ cipher.passwordRevisionDisplayDate | date: "medium" }}
|
||||
</p>
|
||||
<button
|
||||
*ngIf="cipher.hasPasswordHistory && isLogin"
|
||||
*ngIf="cipher.hasPasswordHistory"
|
||||
(click)="viewPasswordHistory()"
|
||||
bitTypography="body2"
|
||||
bitLink
|
||||
|
||||
Reference in New Issue
Block a user