Rename about.component to about-dialog.component (#9094)

Co-authored-by: Daniel James Smith <djsmith85@users.noreply.github.com>
This commit is contained in:
Daniel James Smith 2024-05-09 12:29:51 +02:00 committed by GitHub
parent 59c9606df3
commit 2227fd1190
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 4 additions and 4 deletions

View File

@ -9,11 +9,11 @@ import { PlatformUtilsService } from "@bitwarden/common/platform/abstractions/pl
import { ButtonModule, DialogModule } from "@bitwarden/components"; import { ButtonModule, DialogModule } from "@bitwarden/components";
@Component({ @Component({
templateUrl: "about.component.html", templateUrl: "about-dialog.component.html",
standalone: true, standalone: true,
imports: [CommonModule, JslibModule, DialogModule, ButtonModule], imports: [CommonModule, JslibModule, DialogModule, ButtonModule],
}) })
export class AboutComponent { export class AboutDialogComponent {
protected year = new Date().getFullYear(); protected year = new Date().getFullYear();
protected version$: Observable<string>; protected version$: Observable<string>;

View File

@ -13,7 +13,7 @@ import { DialogService } from "@bitwarden/components";
import { BrowserApi } from "../../../platform/browser/browser-api"; import { BrowserApi } from "../../../platform/browser/browser-api";
import BrowserPopupUtils from "../../../platform/popup/browser-popup-utils"; import BrowserPopupUtils from "../../../platform/popup/browser-popup-utils";
import { AboutComponent } from "./about/about.component"; import { AboutDialogComponent } from "./about-dialog/about-dialog.component";
const RateUrls = { const RateUrls = {
[DeviceType.ChromeExtension]: [DeviceType.ChromeExtension]:
@ -84,7 +84,7 @@ export class SettingsComponent implements OnInit {
} }
about() { about() {
this.dialogService.open(AboutComponent); this.dialogService.open(AboutDialogComponent);
} }
rate() { rate() {