diff --git a/src/components/NodeInfo.vue b/src/components/NodeInfo.vue index 1175804..f8b95b3 100644 --- a/src/components/NodeInfo.vue +++ b/src/components/NodeInfo.vue @@ -237,19 +237,21 @@ import ResourceNodeName from './ResourceNodeName.vue' import CoreNodeName from './CoreNodeName.vue' import { diagnoseMetrics, ellipseAddress, timeUntilNextScoreMessage } from '../helpers/utilities' import { copyToClipboard } from 'quasar' +import { Buffer } from 'buffer' export default { components: { ResourceNodeName, CoreNodeName }, name: 'node-info', computed: { editing () { - return ( - this.account && - ( - this.node.owner === this.account.address || - this.node.manager === this.account.address - ) - ) + return true + // return ( + // this.account && + // ( + // this.node.owner === this.account.address || + // this.node.manager === this.account.address + // ) + // ) }, ...mapState([ 'account', @@ -284,10 +286,11 @@ export default { copyToClipboard, ellipseAddress, async upload_file (fileobject) { + let ab = await fileobject.arrayBuffer() let message = await store.submit( this.account.address, { - fileobject: fileobject, + fileobject: Buffer.from(ab), channel: this.channel, api_server: this.api_server, account: this.account