From bd4c58146200a24f74fdb296457d5b101d09b9ce Mon Sep 17 00:00:00 2001 From: Faris Ansari Date: Mon, 22 Oct 2018 23:33:22 +0530 Subject: [PATCH] Pass doc in ReportFilters --- ui/pages/Report/ReportFilters.vue | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/ui/pages/Report/ReportFilters.vue b/ui/pages/Report/ReportFilters.vue index c6a2f8b6..dc1cc5a2 100644 --- a/ui/pages/Report/ReportFilters.vue +++ b/ui/pages/Report/ReportFilters.vue @@ -5,6 +5,7 @@ :key="docfield.fieldname" :docfield="docfield" :value="$data.filterValues[docfield.fieldname]" + :doc="$data.filterValues" @change="updateValue(docfield.fieldname, $event)"/> @@ -30,13 +31,6 @@ export default { this.$emit('change', this.filterValues); } }, - provide() { - return { - dynamicLinkTarget: reference => { - return this.filterValues[reference]; - } - }; - }, methods: { updateValue(fieldname, value) { this.filterValues[fieldname] = value;