From d931a478cf411859e7c83f7fdfc1ac550774278f Mon Sep 17 00:00:00 2001 From: Anton Korotkov Date: Sun, 5 Jul 2020 20:33:23 +0300 Subject: [PATCH] version bump 1.2.1 --- main.js | 3 +-- package.json | 2 +- src/store/elasticsearch/allocation.js | 2 -- src/store/elasticsearch/index.js | 2 -- src/store/elasticsearch/indices.js | 2 -- src/store/elasticsearch/shards.js | 2 -- 6 files changed, 2 insertions(+), 11 deletions(-) diff --git a/main.js b/main.js index f0af682..c870ce5 100644 --- a/main.js +++ b/main.js @@ -39,7 +39,6 @@ let mainWindow autoUpdater.on('error', e => { trackEvent('Error', 'Update', e.message || 'no message') - console.log('Error', e) }) autoUpdater.setFeedURL({ @@ -76,7 +75,7 @@ function createWindow() { backgroundColor: '#000', webPreferences: { nodeIntegration: true, - devTools: true, + devTools: false, }, }) diff --git a/package.json b/package.json index 9644fff..63141bb 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "Elastron", - "version": "1.2.0", + "version": "1.2.1", "description": "Full featured elasticsearch client", "main": "main.js", "scripts": { diff --git a/src/store/elasticsearch/allocation.js b/src/store/elasticsearch/allocation.js index 81c29b2..257a2f2 100644 --- a/src/store/elasticsearch/allocation.js +++ b/src/store/elasticsearch/allocation.js @@ -25,8 +25,6 @@ export const allocation = store => { store.on('elasticsearch/allocation/fetch', async state => { try { - trackEvent('Allocation', 'Fetch') - store.dispatch('elasticsearch/allocation/update', { loading: true, }) diff --git a/src/store/elasticsearch/index.js b/src/store/elasticsearch/index.js index b8948ca..262774e 100644 --- a/src/store/elasticsearch/index.js +++ b/src/store/elasticsearch/index.js @@ -48,8 +48,6 @@ export const index = store => { store.on('elasticsearch/index/fetch', async state => { if (state.index.loading) return try { - trackEvent('Index', 'Fetch') - store.dispatch('elasticsearch/index/loading', true) const api = new API(state.connection) const info = await api.getIndex(state.index.selected) diff --git a/src/store/elasticsearch/indices.js b/src/store/elasticsearch/indices.js index e1bbe93..813203a 100644 --- a/src/store/elasticsearch/indices.js +++ b/src/store/elasticsearch/indices.js @@ -25,8 +25,6 @@ export const indices = store => { store.on('elasticsearch/indices/fetch', async (state, cb) => { try { - trackEvent('Indices', 'Fetch') - store.dispatch('elasticsearch/indices/update', { loading: true, }) diff --git a/src/store/elasticsearch/shards.js b/src/store/elasticsearch/shards.js index 77a1905..24d5c80 100644 --- a/src/store/elasticsearch/shards.js +++ b/src/store/elasticsearch/shards.js @@ -25,8 +25,6 @@ export const shards = store => { store.on('elasticsearch/shards/fetch', async state => { try { - trackEvent('Shards', 'Fetch') - store.dispatch('elasticsearch/shards/update', { loading: true, })