From f5b7cb3f218affe8f6b0f308e8802d4f7569a02f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=BCneyt=20=C5=9Eent=C3=BCrk?= Date: Sat, 14 Mar 2020 10:44:39 +0300 Subject: [PATCH] Select remote file updates.. --- resources/assets/js/components/AkauntingSelectRemote.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/resources/assets/js/components/AkauntingSelectRemote.vue b/resources/assets/js/components/AkauntingSelectRemote.vue index 950f10a18..c0a11c4fc 100644 --- a/resources/assets/js/components/AkauntingSelectRemote.vue +++ b/resources/assets/js/components/AkauntingSelectRemote.vue @@ -688,7 +688,7 @@ export default { .then(response => { if (response.data.success) { if (!Object.keys(this.options).length) { - this.selectOptions = {}; + this.selectOptions = []; } this.selectOptions.push(response.data.data); @@ -809,7 +809,7 @@ export default { if (response.data.success) { if (!Object.keys(this.options).length) { - this.selectOptions = {}; + this.selectOptions = []; } this.selectOptions.push(response.data.data); @@ -854,7 +854,7 @@ export default { if (Object.keys(this.new_options).length) { if (!Object.keys(this.options).length) { - this.selectOptions = {}; + this.selectOptions = []; } Object.values(this.new_options).forEach(item => {