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";
@Component({
templateUrl: "about.component.html",
templateUrl: "about-dialog.component.html",
standalone: true,
imports: [CommonModule, JslibModule, DialogModule, ButtonModule],
})
export class AboutComponent {
export class AboutDialogComponent {
protected year = new Date().getFullYear();
protected version$: Observable<string>;

View File

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