mirror of
https://github.com/bitwarden/browser
synced 2025-12-26 13:13:22 +00:00
* SM-281: Initial commit with trash component setup * SM-281: Customize secrets list component, add ability to hard delete secrets * SM-281: Add support for restoring secrets in SM * SM-281: restoreSecret emit values as an array * SM-281: Fix bug caused by mistake when doing merge conflict resolution * SM-281: Clean up TrashService and move more functionality to TrashApiService * Cleanup responses * Merge TrashService and SecretService * Remove tw-text-sm from dialogs * Split delete into two components * Change secrets table to have a single boolean for trash * SM-281: Rename component to secret-hard-delete * Remove unused organizationId * Remove duplicate buttons --------- Co-authored-by: Hinton <hinton@users.noreply.github.com>
18 lines
573 B
HTML
18 lines
573 B
HTML
<bit-simple-dialog>
|
|
<span bitDialogTitle>{{ title | i18n }}</span>
|
|
<span bitDialogContent>
|
|
<div *ngIf="data.secretIds.length === 1">
|
|
{{ "softDeleteSecretWarning" | i18n }}
|
|
</div>
|
|
{{ "deleteItemConfirmation" | i18n }}
|
|
</span>
|
|
<div bitDialogFooter class="tw-flex tw-gap-2">
|
|
<button type="button" bitButton buttonType="primary" [bitAction]="delete">
|
|
{{ submitButtonText | i18n }}
|
|
</button>
|
|
<button type="button" bitButton buttonType="secondary" bitDialogClose>
|
|
{{ "close" | i18n }}
|
|
</button>
|
|
</div>
|
|
</bit-simple-dialog>
|