mirror of
https://github.com/bitwarden/browser.git
synced 2025-01-06 18:57:56 +01:00
apply code review
This commit is contained in:
parent
3bdb52c613
commit
5c99e278b6
@ -2,12 +2,7 @@ import { DIALOG_DATA } from "@angular/cdk/dialog";
|
||||
import { Component, Inject } from "@angular/core";
|
||||
|
||||
import { JslibModule } from "@bitwarden/angular/jslib.module";
|
||||
import {
|
||||
AsyncActionsModule,
|
||||
ButtonModule,
|
||||
DialogModule,
|
||||
DialogService,
|
||||
} from "@bitwarden/components";
|
||||
import { ButtonModule, DialogModule, DialogService } from "@bitwarden/components";
|
||||
|
||||
export type DesktopSyncVerificationDialogParams = {
|
||||
fingerprint: string;
|
||||
@ -16,7 +11,7 @@ export type DesktopSyncVerificationDialogParams = {
|
||||
@Component({
|
||||
templateUrl: "desktop-sync-verification-dialog.component.html",
|
||||
standalone: true,
|
||||
imports: [JslibModule, ButtonModule, DialogModule, AsyncActionsModule],
|
||||
imports: [JslibModule, ButtonModule, DialogModule],
|
||||
})
|
||||
export class DesktopSyncVerificationDialogComponent {
|
||||
constructor(@Inject(DIALOG_DATA) protected params: DesktopSyncVerificationDialogParams) {}
|
||||
|
@ -1,5 +1,5 @@
|
||||
<bit-simple-dialog>
|
||||
<span bitDialogTitle> {{ "awaitDesktop" | i18n }}: </span>
|
||||
<span bitDialogTitle>{{ "awaitDesktop" | i18n }}</span>
|
||||
<span bitDialogContent>
|
||||
{{ "awaitDesktopDesc" | i18n }}
|
||||
</span>
|
||||
|
@ -1,17 +1,12 @@
|
||||
import { Component } from "@angular/core";
|
||||
|
||||
import { JslibModule } from "@bitwarden/angular/jslib.module";
|
||||
import {
|
||||
AsyncActionsModule,
|
||||
ButtonModule,
|
||||
DialogModule,
|
||||
DialogService,
|
||||
} from "@bitwarden/components";
|
||||
import { ButtonModule, DialogModule, DialogService } from "@bitwarden/components";
|
||||
|
||||
@Component({
|
||||
templateUrl: "await-desktop-dialog.component.html",
|
||||
standalone: true,
|
||||
imports: [JslibModule, ButtonModule, DialogModule, AsyncActionsModule],
|
||||
imports: [JslibModule, ButtonModule, DialogModule],
|
||||
})
|
||||
export class AwaitDesktopDialogComponent {
|
||||
static open(dialogService: DialogService) {
|
||||
|
@ -3,9 +3,10 @@
|
||||
{{ "verifyBrowserTitle" | i18n }}
|
||||
</span>
|
||||
<span bitDialogContent>
|
||||
{{ "verifyBrowserDesc" | i18n }}
|
||||
<br /><br />
|
||||
<strong>{{ params.fingerprint }}</strong>
|
||||
<p>{{ "verifyBrowserDesc" | i18n }}</p>
|
||||
<p>
|
||||
<strong>{{ params.fingerprint }}</strong>
|
||||
</p>
|
||||
</span>
|
||||
<ng-container bitDialogFooter>
|
||||
<button bitButton type="submit" buttonType="primary" [bitDialogClose]="true">
|
||||
|
Loading…
Reference in New Issue
Block a user