Skip to content

Commit

Permalink
refactor(Price tag): add a new error choice 'Not a price' (#1357)
Browse files Browse the repository at this point in the history
  • Loading branch information
raphodn authored Feb 3, 2025
1 parent f3add84 commit 6e57e0a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/components/ContributionAssistantPriceFormCard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,16 @@
</v-btn>
</template>
<v-list>
<v-list-item :slim="true" prepend-icon="mdi-eye-off-outline" @click="removePriceTag(2)">
{{ $t('Common.Unreadable') }}
</v-list-item>
<v-divider class="mt-2 mb-2" />
<v-list-item :slim="true" prepend-icon="mdi-crop" @click="removePriceTag(3)">
{{ $t('Common.Truncated') }}
</v-list-item>
<v-divider class="mt-2 mb-2" />
<v-list-item :slim="true" prepend-icon="mdi-eye-off-outline" @click="removePriceTag(2)">
{{ $t('Common.Unreadable') }}
<v-list-item :slim="true" prepend-icon="mdi-currency-usd-off" @click="removePriceTag(4)">
{{ $t('Common.NotAPrice') }}
</v-list-item>
</v-list>
</v-menu>
Expand Down
1 change: 1 addition & 0 deletions src/i18n/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -278,6 +278,7 @@
"MyPrices": "My prices",
"MyProofs": "My proofs",
"MyStats": "My stats",
"NotAPrice": "Not a price",
"Offline": "Offline",
"Online": "Online",
"Order": "Order",
Expand Down

0 comments on commit 6e57e0a

Please sign in to comment.