From 43cd6504b6f84375687d103955cddfbfa221c640 Mon Sep 17 00:00:00 2001 From: athul Date: Tue, 26 Nov 2019 19:08:28 +0530 Subject: [PATCH] =?UTF-8?q?Edited=20as=20per=20@jamesgeorge007=20's=20said?= =?UTF-8?q?=20=E2=9C=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/collections/editRequest.vue | 2 +- components/collections/saveRequestAs.vue | 2 +- pages/realtime.vue | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/components/collections/editRequest.vue b/components/collections/editRequest.vue index be9383b62..a74718563 100644 --- a/components/collections/editRequest.vue +++ b/components/collections/editRequest.vue @@ -93,7 +93,7 @@ export default { }; }, watch: { - "requestUpdateData.collectionIndex": ()=> { //resetFolderIndex Function + "requestUpdateData.collectionIndex":function resetFolderIndex() { //resetFolderIndex Function // if user choosen some folder, than selected other collection, which doesn't have any folders // than `requestUpdateData.folderIndex` won't be reseted this.$data.requestUpdateData.folderIndex = undefined; diff --git a/components/collections/saveRequestAs.vue b/components/collections/saveRequestAs.vue index c9cccf70a..e48f01631 100644 --- a/components/collections/saveRequestAs.vue +++ b/components/collections/saveRequestAs.vue @@ -119,7 +119,7 @@ export default { this.$data.requestData.folderIndex = undefined; this.$data.requestData.requestIndex = undefined; }, - "requestData.folderIndex": ()=> { + "requestData.folderIndex": function resetRequestIndex() { this.$data.requestData.requestIndex = undefined; } }, diff --git a/pages/realtime.vue b/pages/realtime.vue index 8ba5c3ed2..eb9eeffde 100644 --- a/pages/realtime.vue +++ b/pages/realtime.vue @@ -432,7 +432,7 @@ export default { this.sse.close(); } }, - updated: ()=> { + updated: function() { this.$nextTick(()=> { const divLog = document.getElementById("log"); divLog.scrollBy(0, divLog.scrollHeight + 100);