mirror of
https://github.com/bitwarden/browser
synced 2025-12-19 17:53:39 +00:00
[PM-29565] Delete deprecated callout component (#17895)
* Replace usages of app-callout with bit-callout * Delete callout.component --------- Co-authored-by: Daniel James Smith <djsmith85@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
bcc2bda417
commit
458da1adc0
@@ -2,13 +2,11 @@
|
||||
<bit-dialog>
|
||||
<div class="tw-font-medium" bitDialogTitle>{{ "sshkeyApprovalTitle" | i18n }}</div>
|
||||
<div bitDialogContent>
|
||||
<app-callout
|
||||
type="warning"
|
||||
title="{{ 'agentForwardingWarningTitle' | i18n }}"
|
||||
*ngIf="params.isAgentForwarding"
|
||||
>
|
||||
@if (params.isAgentForwarding) {
|
||||
<bit-callout type="warning" title="{{ 'agentForwardingWarningTitle' | i18n }}">
|
||||
{{ 'agentForwardingWarningText' | i18n }}
|
||||
</app-callout>
|
||||
</bit-callout>
|
||||
}
|
||||
|
||||
<b>{{params.applicationName}}</b> {{ "sshkeyApprovalMessageInfix" | i18n }}
|
||||
<b>{{params.cipherName}}</b>
|
||||
|
||||
@@ -12,6 +12,7 @@ import {
|
||||
FormFieldModule,
|
||||
IconButtonModule,
|
||||
DialogService,
|
||||
CalloutModule,
|
||||
} from "@bitwarden/components";
|
||||
|
||||
export interface ApproveSshRequestParams {
|
||||
@@ -35,6 +36,7 @@ export interface ApproveSshRequestParams {
|
||||
ReactiveFormsModule,
|
||||
AsyncActionsModule,
|
||||
FormFieldModule,
|
||||
CalloutModule,
|
||||
],
|
||||
})
|
||||
export class ApproveSshRequestComponent {
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<form [bitSubmit]="submit" [formGroup]="formGroup">
|
||||
<app-callout type="warning">{{ "deleteAccountWarning" | i18n }}</app-callout>
|
||||
<bit-callout type="warning">{{ "deleteAccountWarning" | i18n }}</bit-callout>
|
||||
<p bitTypography="body1" class="tw-text-center">
|
||||
<strong>{{ email }}</strong>
|
||||
</p>
|
||||
|
||||
Reference in New Issue
Block a user