-
+
@@ -42,6 +42,12 @@ export default {
},
userIsProofOwner() {
return this.username && (this.proof.owner === this.username)
+ },
+ proofIsReceipt() {
+ return this.proof.type === 'RECEIPT'
+ },
+ proofIsPrivateReceipt() {
+ return this.proofIsReceipt && !this.proof.is_public
}
},
methods: {
diff --git a/src/i18n/locales/en.json b/src/i18n/locales/en.json
index 989bff3bc5..b75622d5fc 100644
--- a/src/i18n/locales/en.json
+++ b/src/i18n/locales/en.json
@@ -279,7 +279,6 @@
},
"ProofEdit": {
"Title": "Edit a proof",
- "PrivateWarning": "When setting your proof to Private, it will be hidden from public view. We recommend hiding any personal information by redacting or folding the document, if possible.",
"Save": "Save",
"Success": "Proof edited!"
},
diff --git a/src/views/AddPriceMultiple.vue b/src/views/AddPriceMultiple.vue
index ccaaead3e9..104feeed14 100644
--- a/src/views/AddPriceMultiple.vue
+++ b/src/views/AddPriceMultiple.vue
@@ -66,24 +66,7 @@
{{ $t('ProofDetail.Privacy') }}
{{ $t('AddPriceMultiple.ProofDetails.ReceiptWarning') }}
- {{ $t('AddPriceMultiple.ProofDetails.PrivateWarning') }}
-
-
-
-
-
- {{ proofIsPublic ? $t('ProofDetail.Public') : $t('ProofDetail.Private') }}
-
-
-
-