chore: minor fixes

This commit is contained in:
Eneko Illarramendi
2020-04-05 12:19:25 +02:00
parent 089793a486
commit fb7dfb3a32
7 changed files with 93 additions and 336 deletions
+7 -1
View File
@@ -57,6 +57,12 @@ var LNbits = {
}).sort(function (a, b) {
return a.name.localeCompare(b.name);
});
obj.walletOptions = obj.wallets.map(function (obj) {
return {
label: [obj.name, ' (', obj.id , ')'].join(''),
value: obj.id
};
});
return obj;
},
wallet: function (data) {
@@ -158,7 +164,7 @@ var windowMixin = {
copyText: function (text, message) {
var notify = this.$q.notify;
Quasar.utils.copyToClipboard(text).then(function () {
notify({message: 'Copied to clipboard!'});
notify({message: message || 'Copied to clipboard!'});
});
}
},