1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-10 13:40:06 +00:00

Display progress value without high/max when achievement in progress

This commit is contained in:
Daniel James Smith
2025-03-21 11:01:41 +01:00
parent 4216cceed2
commit 1fe0361ed4

View File

@@ -7,6 +7,8 @@
<span slot="secondary">{{ description() }}</span>
@if (earned()) {
<p slot="secondary">Earned: {{ date() | date: "medium" }}</p>
} @else if (progress() > 0) {
<p slot="secondary">Progress: {{ progress() }}</p>
}
</button>
</bit-item>