mirror of
https://github.com/bitwarden/browser
synced 2026-02-27 18:13:29 +00:00
25 lines
806 B
HTML
25 lines
806 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 *ngIf="hasHistory$ | async" />
|
|
</ng-container>
|
|
<ng-container bitDialogFooter>
|
|
<button
|
|
[disabled]="!(hasHistory$ | async)"
|
|
bitButton
|
|
type="submit"
|
|
buttonType="primary"
|
|
(click)="clear()"
|
|
>
|
|
{{ "clearHistory" | i18n }}
|
|
</button>
|
|
<!-- FIXME: Remove the close button once the dialog doesn't overlap electron's
|
|
drag area.
|
|
-->
|
|
<button bitButton type="submit" buttonType="secondary" (click)="close()">
|
|
{{ "close" | i18n }}
|
|
</button>
|
|
</ng-container>
|
|
</bit-dialog>
|