mirror of
https://github.com/lnbits/lnbits-legend.git
synced 2024-11-19 18:11:30 +01:00
Adde trim to manifest upload
This commit is contained in:
parent
880c955208
commit
8d64c6d877
@ -390,7 +390,7 @@
|
||||
)
|
||||
},
|
||||
addExtensionsManifest() {
|
||||
const addManifest = this.formAddExtensionsManifest
|
||||
const addManifest = this.formAddExtensionsManifest.trim()
|
||||
const manifests = this.formData.lnbits_extensions_manifests
|
||||
if (addManifest && addManifest.length && !manifests.includes(addManifest)) {
|
||||
this.formData.lnbits_extensions_manifests = [...manifests, addManifest]
|
||||
|
Loading…
Reference in New Issue
Block a user