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

tweaks

parent ecd77323
Branches
No related tags found
No related merge requests found
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
<script> <script>
import VueIpfs from 'ipfs' import VueIpfs from 'ipfs'
import { mapState } from 'vuex' // import { mapState } from 'vuex'
const ipfs = VueIpfs.create() const ipfs = VueIpfs.create()
var node var node
var output var output
...@@ -52,11 +52,11 @@ export default { ...@@ -52,11 +52,11 @@ export default {
} }
}, },
computed: { // computed: {
...mapState({ // ...mapState({
myNodes: (state) => state.myNodes, // myNodes: (state) => state.myNodes,
}), // }),
}, // },
mounted: function () { mounted: function () {
this.getIpfsNodeInfo() this.getIpfsNodeInfo()
...@@ -168,9 +168,9 @@ export default { ...@@ -168,9 +168,9 @@ export default {
copyClipBoard(e) { copyClipBoard(e) {
this.copytext = '![](https://ipfs.io/ipfs/' + e + ')' this.copytext = '![](https://ipfs.io/ipfs/' + e + ')'
this.$store.dispatch('addNode') // this.$store.dispatch('addNode')
//this.copyready = true //this.copyready = true
setTimeout(this.copyClick, 3000) // setTimeout(this.copyClick, 3000)
}, },
copyClick() { copyClick() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment