1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-10 05:30:01 +00:00

Use AchievementItem instead of AchievementCard

This commit is contained in:
Daniel James Smith
2025-03-20 22:40:47 +01:00
parent 66d4fca645
commit b4762aa148
2 changed files with 3 additions and 3 deletions

View File

@@ -17,7 +17,7 @@ import { AchievementIcon } from "./icons/achievement.icon";
standalone: true,
imports: [CommonModule, ItemModule, ButtonModule, IconModule, TypographyModule],
})
export class AchievemenItem {
export class AchievementItem {
protected readonly icon: Icon = AchievementIcon;
protected iconStyle: string = "tw-grayscale";

View File

@@ -22,7 +22,7 @@ import {
TypographyModule,
} from "@bitwarden/components";
import { AchievementCard } from "./achievement-card.component";
import { AchievementItem } from "./achievement-item.component";
@Component({
selector: "achievements-list",
@@ -37,7 +37,7 @@ import { AchievementCard } from "./achievement-card.component";
TypographyModule,
JslibModule,
SectionHeaderComponent,
AchievementCard,
AchievementItem,
],
})
export class AchievementsListComponent implements OnInit {