summaryrefslogtreecommitdiff
path: root/app/client/common
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2018-09-22 19:12:20 +0200
committerJules Laplace <julescarbon@gmail.com>2018-09-22 19:12:20 +0200
commit89a3b6bb4a6d6a7ef936e8ec1d4afefd4a8385fd (patch)
treec7d9b9f3a0f6ed1a36e616b0fdeca5dce4d448d6 /app/client/common
parentbab7a5431b2255851034b19fb1e5cba641882131 (diff)
thumbnail method
Diffstat (limited to 'app/client/common')
-rw-r--r--app/client/common/fileViewer.component.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/client/common/fileViewer.component.js b/app/client/common/fileViewer.component.js
index b1cabd4..fcc4e9c 100644
--- a/app/client/common/fileViewer.component.js
+++ b/app/client/common/fileViewer.component.js
@@ -39,6 +39,7 @@ class FileViewer extends Component {
console.log('fetch file', fn)
const { tool: module } = this.props.app
this.setState({ buffer: null, loading: true })
+
actions.socket.read_file({ module, fn }).then(buffer => {
console.log('fetched buffer')
const { stale } = this.state