From bf55fb20929a5a4609e06020e1f9f3ce0708dc64 Mon Sep 17 00:00:00 2001 From: Laurence Maultsby Date: Mon, 3 Apr 2017 16:32:27 -0400 Subject: [PATCH] RIFT-15945: Uploaded file now goes to correct new folder Signed-off-by: Laurence Maultsby --- .../composer/src/src/components/filemanager/FileManager.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/skyquake/plugins/composer/src/src/components/filemanager/FileManager.jsx b/skyquake/plugins/composer/src/src/components/filemanager/FileManager.jsx index 913f71ac6..498cd2aec 100644 --- a/skyquake/plugins/composer/src/src/components/filemanager/FileManager.jsx +++ b/skyquake/plugins/composer/src/src/components/filemanager/FileManager.jsx @@ -124,7 +124,7 @@ class FileManager extends React.Component { function buildList(self, data) { let toReturn = []; data.id.map(function(k,i) { - toReturn.push (contentFolder(self, data.data[k], k, i, self.props.filesState, self.updateFileLocationInput, self.sendDownloadFileRequst, self.deleteFile)); + toReturn.push (contentFolder(self, data.data[k], k, k+i, self.props.filesState, self.updateFileLocationInput, self.sendDownloadFileRequst, self.deleteFile)); }); return toReturn.reverse(); } -- 2.25.1