From 09c03af9f8c2b3831ac76101a834521125597c7a Mon Sep 17 00:00:00 2001 From: yogesh_gohil Date: Sat, 16 Nov 2019 14:10:27 +0530 Subject: [PATCH] remove unwatnted code --- resources/assets/js/views/invoices/View.vue | 5 ----- 1 file changed, 5 deletions(-) diff --git a/resources/assets/js/views/invoices/View.vue b/resources/assets/js/views/invoices/View.vue index ee4db7b1..64ac6284 100644 --- a/resources/assets/js/views/invoices/View.vue +++ b/resources/assets/js/views/invoices/View.vue @@ -180,11 +180,6 @@ export default { return `/invoices/pdf/${this.invoice.unique_hash}` } }, - watch: { - '$route.params.id' (val) { - this.invoice() - } - }, created () { this.loadInvoices() this.onSearched = _.debounce(this.onSearched, 500)