From d4b8e0a0b667db38050caffa9a25966a1fbf575a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Odini?= Date: Sat, 7 Sep 2024 18:14:55 +0200 Subject: [PATCH] refactor(proofs): add a Proof Action to the details page (#801) --- src/components/ProofActionMenuButton.vue | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/components/ProofActionMenuButton.vue b/src/components/ProofActionMenuButton.vue index d43db7e5f1b..b5794a316cc 100644 --- a/src/components/ProofActionMenuButton.vue +++ b/src/components/ProofActionMenuButton.vue @@ -5,6 +5,9 @@ + + {{ $t('Common.Details') }} + {{ $t('Common.Edit') }} @@ -76,6 +79,9 @@ export default { } }, computed: { + getProofDetailUrl() { + return `/proofs/${this.proof.id}` + }, userCanAddPrice() { return this.proof && (this.proof.type === 'PRICE_TAG' || this.proof.type === 'RECEIPT') },