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
|
<p
|
||||||
class="tw-text-xs tw-text-muted tw-select-none"
|
class="tw-text-xs tw-text-muted tw-select-none"
|
||||||
[ngClass]="{
|
[ngClass]="{
|
||||||
'tw-mb-1 ': cipher.hasPasswordHistory && isLogin,
|
'tw-mb-1 ': cipher.hasPasswordHistory,
|
||||||
'tw-mb-0': !cipher.hasPasswordHistory || !isLogin,
|
'tw-mb-0': !cipher.hasPasswordHistory,
|
||||||
}"
|
}"
|
||||||
>
|
>
|
||||||
<span class="tw-font-bold">{{ "dateCreated" | i18n }}:</span>
|
<span class="tw-font-bold">{{ "dateCreated" | i18n }}:</span>
|
||||||
{{ cipher.creationDate | date: "medium" }}
|
{{ cipher.creationDate | date: "medium" }}
|
||||||
</p>
|
</p>
|
||||||
<p
|
<p
|
||||||
*ngIf="cipher.hasPasswordHistory && isLogin"
|
*ngIf="cipher.passwordRevisionDisplayDate"
|
||||||
class="tw-text-xs tw-text-muted tw-select-none"
|
class="tw-text-xs tw-text-muted tw-select-none"
|
||||||
[ngClass]="{ 'tw-mb-3': cipher.hasPasswordHistory }"
|
[ngClass]="{ 'tw-mb-3': cipher.hasPasswordHistory }"
|
||||||
>
|
>
|
||||||
@@ -26,7 +26,7 @@
|
|||||||
{{ cipher.passwordRevisionDisplayDate | date: "medium" }}
|
{{ cipher.passwordRevisionDisplayDate | date: "medium" }}
|
||||||
</p>
|
</p>
|
||||||
<button
|
<button
|
||||||
*ngIf="cipher.hasPasswordHistory && isLogin"
|
*ngIf="cipher.hasPasswordHistory"
|
||||||
(click)="viewPasswordHistory()"
|
(click)="viewPasswordHistory()"
|
||||||
bitTypography="body2"
|
bitTypography="body2"
|
||||||
bitLink
|
bitLink
|
||||||
|
|||||||
Reference in New Issue
Block a user