Skip to content
Snippets Groups Projects
Commit c7082229 authored by Adam Procter's avatar Adam Procter
Browse files

editing IPFS

parent 020dd0ed
No related branches found
No related tags found
No related merge requests found
...@@ -58,7 +58,7 @@ export default { ...@@ -58,7 +58,7 @@ export default {
}, },
mounted: function () { mounted: function () {
// console.log(VueIpfs) // console.log(VueIpfs)
this.getIpfsNodeInfo() // this.getIpfsNodeInfo()
}, },
methods: { methods: {
async getIpfsNodeInfo() { async getIpfsNodeInfo() {
......
...@@ -9,8 +9,8 @@ ...@@ -9,8 +9,8 @@
ref="fileInput" ref="fileInput"
@change="onFileSelected" @change="onFileSelected"
/> />
<!-- <h1>{{ status }}</h1> <h1>{{ status }}</h1>
<h2>ID: {{ id }}</h2> <!-- <h2>ID: {{ id }}</h2>
<h2>Agent version: {{ agentVersion }}</h2> --> <h2>Agent version: {{ agentVersion }}</h2> -->
<!-- <!--
<button type="button" @click="saveIPFS">Upload</button> <button type="button" @click="saveIPFS">Upload</button>
...@@ -38,7 +38,7 @@ var copytext = '' ...@@ -38,7 +38,7 @@ var copytext = ''
// The below code should create an IPFS node to add files to // The below code should create an IPFS node to add files to
export default { export default {
name: 'IpfsInfo', name: 'UploadLayer',
props: { props: {
uploadready: Boolean, uploadready: Boolean,
...@@ -93,6 +93,7 @@ export default { ...@@ -93,6 +93,7 @@ export default {
} catch (err) { } catch (err) {
// Set error status text. // Set error status text.
this.status = `Error: ${err}` this.status = `Error: ${err}`
console.log(err)
} }
}, },
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment