From 5e37df206e5667d681be1b9b4c450024733c4617 Mon Sep 17 00:00:00 2001 From: Laurence Maultsby Date: Wed, 25 Jan 2017 09:12:26 -0500 Subject: [PATCH] Assets tab hidden by default Signed-off-by: Laurence Maultsby --- skyquake/plugins/composer/src/src/stores/ComposerAppStore.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/skyquake/plugins/composer/src/src/stores/ComposerAppStore.js b/skyquake/plugins/composer/src/src/stores/ComposerAppStore.js index 347ba9a07..3671890b5 100644 --- a/skyquake/plugins/composer/src/src/stores/ComposerAppStore.js +++ b/skyquake/plugins/composer/src/src/stores/ComposerAppStore.js @@ -122,7 +122,7 @@ class ComposerAppStore { this.fullScreenMode = false; this.panelTabShown = 'descriptor'; //File manager values - this.files = []; + this.files = false; this.filesState = {}; this.downloadJobs = {}; //End File manager values @@ -549,7 +549,7 @@ class ComposerAppStore { let self = this; let ws = window.multiplexer.channel(id); let downloadJobs = _.cloneDeep(self.downloadJobs); - let newFiles = {}; + let newFiles = false; ws.onmessage = (socket) => { if (self.files && self.files.length > 0) { let jobs = []; @@ -625,7 +625,6 @@ class ComposerAppStore { openFileManagerSockets(i) { let self = this; let item = i || self.item; - this.files = {data:[]}; // this.closeFileManagerSockets(); this.getInstance().openFileMonitoringSocket(item.id, item.uiState.type).then(function() { // // self.getInstance().openDownloadMonitoringSocket(item.id); -- 2.25.1