From ad2eb04dc92d0494124e6db8357463807106f88f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=BCneyt=20=C5=9Eent=C3=BCrk?= Date: Wed, 28 Jul 2021 18:43:00 +0300 Subject: [PATCH] close #2201 Fixed: Report detail console report_total issue #pth7p0 --- resources/assets/js/views/common/reports.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/resources/assets/js/views/common/reports.js b/resources/assets/js/views/common/reports.js index d515ccff2..1cbfb7209 100644 --- a/resources/assets/js/views/common/reports.js +++ b/resources/assets/js/views/common/reports.js @@ -35,7 +35,9 @@ const app = new Vue({ }, created() { - this.reports_total = reports_total; + if (typeof reports_total !== 'undefined' && reports_total) { + this.reports_total = reports_total; + } }, methods: {