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:
@@ -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";
|
||||
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user