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);