feat: add basic UI

This commit is contained in:
Vlad Stan 2023-02-06 14:03:15 +02:00
parent 5a747361af
commit 298021d25a
6 changed files with 438 additions and 80 deletions

View file

@ -0,0 +1,31 @@
async function relayDetails(path) {
const template = await loadTemplateAsync(path)
Vue.component('relay-details', {
name: 'relay-details',
template,
props: [],
data: function () {
return {
items: [],
formDialogItem: {
show: false,
data: {
name: '',
description: ''
}
}
}
},
methods: {
satBtc(val, showUnit = true) {
return satOrBtc(val, showUnit, this.satsDenominated)
},
},
created: async function () {
}
})
}