1
0
mirror of https://github.com/bitwarden/browser synced 2026-01-31 00:33:33 +00:00

remove 'desktop' naming, Send w/ v2, i18n Pipe

This commit is contained in:
Isaac Ivins
2025-11-25 14:38:41 -05:00
parent 41e5da0928
commit 89bcbe6a98
4 changed files with 11 additions and 11 deletions

View File

@@ -1,15 +1,15 @@
import { ChangeDetectionStrategy, Component } from "@angular/core";
import { RouterModule } from "@angular/router";
import { JslibModule } from "@bitwarden/angular/jslib.module";
import { PasswordManagerLogo } from "@bitwarden/assets/svg";
import { LayoutComponent, NavigationModule } from "@bitwarden/components";
import { I18nPipe } from "@bitwarden/ui-common";
import { DesktopSideNavComponent } from "./desktop-side-nav.component";
@Component({
selector: "app-desktop-layout",
imports: [RouterModule, JslibModule, LayoutComponent, NavigationModule, DesktopSideNavComponent],
selector: "app-layout",
imports: [RouterModule, I18nPipe, LayoutComponent, NavigationModule, DesktopSideNavComponent],
templateUrl: "./desktop-layout.component.html",
changeDetection: ChangeDetectionStrategy.OnPush,
})

View File

@@ -4,7 +4,7 @@ import { ChangeDetectionStrategy, Component, input } from "@angular/core";
import { NavigationModule, SideNavVariant } from "@bitwarden/components";
@Component({
selector: "app-desktop-side-nav",
selector: "app-side-nav",
templateUrl: "desktop-side-nav.component.html",
imports: [CommonModule, NavigationModule],
changeDetection: ChangeDetectionStrategy.OnPush,

View File

@@ -1,17 +1,17 @@
import { ComponentFixture, TestBed } from "@angular/core/testing";
import { SendsComponent } from "./sends.component";
import { SendsV2Component } from "./send-V2.component";
describe("SendsComponent", () => {
let component: SendsComponent;
let fixture: ComponentFixture<SendsComponent>;
describe("SendsV2Component", () => {
let component: SendsV2Component;
let fixture: ComponentFixture<SendsV2Component>;
beforeEach(async () => {
await TestBed.configureTestingModule({
imports: [SendsComponent],
imports: [SendsV2Component],
}).compileComponents();
fixture = TestBed.createComponent(SendsComponent);
fixture = TestBed.createComponent(SendsV2Component);
component = fixture.componentInstance;
fixture.detectChanges();
});

View File

@@ -6,4 +6,4 @@ import { Component, ChangeDetectionStrategy } from "@angular/core";
template: "<p>Sends V2 Component</p>",
changeDetection: ChangeDetectionStrategy.OnPush,
})
export class SendsComponent {}
export class SendsV2Component {}