mirror of
https://github.com/bitwarden/browser
synced 2025-12-17 00:33:44 +00:00
19 lines
604 B
HTML
19 lines
604 B
HTML
<bit-dialog #dialog background="alt">
|
|
<span bitDialogTitle>{{ "generatorHistory" | i18n }}</span>
|
|
<ng-container bitDialogContent>
|
|
<bit-empty-credential-history *ngIf="!(hasHistory$ | async)" style="display: contents" />
|
|
<bit-credential-generator-history [account]="account$ | async" *ngIf="hasHistory$ | async" />
|
|
</ng-container>
|
|
<ng-container bitDialogFooter>
|
|
<button
|
|
[disabled]="!(hasHistory$ | async)"
|
|
bitButton
|
|
type="submit"
|
|
buttonType="primary"
|
|
(click)="clear()"
|
|
>
|
|
{{ "clearHistory" | i18n }}
|
|
</button>
|
|
</ng-container>
|
|
</bit-dialog>
|