mirror of
https://github.com/bitwarden/browser
synced 2026-02-10 05:30:01 +00:00
Update name and description on add attachment achievement
This commit is contained in:
@@ -14,8 +14,8 @@ const FiveItemsCreatedAchievement = "five-vault-items-created" as AchievementId;
|
||||
|
||||
const TotallyAttachedValidator = {
|
||||
achievement: TotallyAttachedAchievement,
|
||||
name: "Totally attached <3",
|
||||
description: "Attached a file to a send or item",
|
||||
name: "Attachment theory",
|
||||
description: "Added an attachment to a vault item",
|
||||
validator: Type.HasTag,
|
||||
active: "until-earned",
|
||||
hidden: false,
|
||||
|
||||
@@ -14,8 +14,13 @@ export class AttachmentAddedValidator implements AchievementValidator {
|
||||
return "item-attached" as AchievementId;
|
||||
}
|
||||
get name() {
|
||||
return "1st attachment added to item";
|
||||
return "Attachment theory";
|
||||
}
|
||||
|
||||
get description() {
|
||||
return "Added an attachment to a vault item";
|
||||
}
|
||||
|
||||
get metric() {
|
||||
// Does this need to match vault-item-created-count-validator metric id for "item-quantity"
|
||||
return "item-quantity" as MetricId;
|
||||
|
||||
Reference in New Issue
Block a user