Added apostrophe to contracts name

pull/1/head
ioedeveloper 5 years ago
parent fdadb949ba
commit 5a4cb64424
  1. 4
      src/app/tabs/compile-tab.js

@ -332,7 +332,7 @@ class CompileTab extends ViewPlugin {
var result = yo`<div>${uploaded.map((value) => {
return yo`<div><b>${value.filename}</b> : <pre>${value.output.url}</pre></div>`
})}</div>`
modalDialogCustom.alert(`Published "${contract.name}" Metadata`, yo`<span>Metadata of ${contract.name.toLowerCase()} was published successfully.<br> <pre>${result}</pre> </span>`)
modalDialogCustom.alert(`Published "${contract.name}'s" Metadata`, yo`<span>Metadata of ${contract.name.toLowerCase()} was published successfully.<br> <pre>${result}</pre> </span>`)
}
}, (item) => { // triggered each time there's a new verified publish (means hash correspond)
this.fileProvider.addExternal('swarm/' + item.hash, item.content)
@ -349,7 +349,7 @@ class CompileTab extends ViewPlugin {
var result = yo`<div>${uploaded.map((value) => {
return yo`<div><b>${value.filename}</b> : <pre>${value.output.url}</pre></div>`
})}</div>`
modalDialogCustom.alert(`Published "${contract.name}" Metadata`, yo`<span>Metadata of ${contract.name.toLowerCase()} was published successfully.<br> <pre>${result}</pre> </span>`)
modalDialogCustom.alert(`Published "${contract.name}'s" Metadata`, yo`<span>Metadata of ${contract.name.toLowerCase()} was published successfully.<br> <pre>${result}</pre> </span>`)
}
}, (item) => { // triggered each time there's a new verified publish (means hash correspond)
this.fileProvider.addExternal('ipfs/' + item.hash, item.content)

Loading…
Cancel
Save