From c7082229d3cf3aa516f6e4a2483b7a19fa19464c Mon Sep 17 00:00:00 2001 From: Adam Procter <adamprocter@researchnot.es> Date: Tue, 14 Jul 2020 12:54:44 +0100 Subject: [PATCH] editing IPFS --- app/src/components/IpfsInfo.vue | 2 +- app/src/components/UploadLayer.vue | 11 ++++++----- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/app/src/components/IpfsInfo.vue b/app/src/components/IpfsInfo.vue index 4b32cbc..8fd93ca 100644 --- a/app/src/components/IpfsInfo.vue +++ b/app/src/components/IpfsInfo.vue @@ -58,7 +58,7 @@ export default { }, mounted: function () { // console.log(VueIpfs) - this.getIpfsNodeInfo() + // this.getIpfsNodeInfo() }, methods: { async getIpfsNodeInfo() { diff --git a/app/src/components/UploadLayer.vue b/app/src/components/UploadLayer.vue index 52759c1..2672f39 100644 --- a/app/src/components/UploadLayer.vue +++ b/app/src/components/UploadLayer.vue @@ -9,8 +9,8 @@ ref="fileInput" @change="onFileSelected" /> - <!-- <h1>{{ status }}</h1> - <h2>ID: {{ id }}</h2> + <h1>{{ status }}</h1> + <!-- <h2>ID: {{ id }}</h2> <h2>Agent version: {{ agentVersion }}</h2> --> <!-- <button type="button" @click="saveIPFS">Upload</button> @@ -38,7 +38,7 @@ var copytext = '' // The below code should create an IPFS node to add files to export default { - name: 'IpfsInfo', + name: 'UploadLayer', props: { uploadready: Boolean, @@ -48,7 +48,7 @@ export default { return { status: 'Connecting to IPFS...', // id: '', - // agentVersion: '', + // agentVersion: '', selectedFile: null, fileContents: this.fileContents, output: output, @@ -57,7 +57,7 @@ export default { } }, mounted: function () { - // console.log(VueIpfs) + //console.log(VueIpfs) this.getIpfsNodeInfo() }, @@ -93,6 +93,7 @@ export default { } catch (err) { // Set error status text. this.status = `Error: ${err}` + console.log(err) } }, -- GitLab