fix: extension name and icon (#2771)

This commit is contained in:
Vlad Stan
2024-11-12 10:34:45 +02:00
committed by GitHub
parent 3eece03715
commit fa18170ed7
4 changed files with 5 additions and 16 deletions
+1 -1
View File
File diff suppressed because one or more lines are too long
+1 -12
View File
@@ -209,18 +209,7 @@ window.LNbits = {
},
map: {
extension: function (data) {
const obj = _.object(
[
'code',
'isValid',
'isAdminOnly',
'name',
'shortDescription',
'tile',
'contributors'
],
data
)
const obj = {...data}
obj.url = ['/', obj.code, '/'].join('')
return obj
},