Adde trim to manifest upload
This commit is contained in:
parent
880c955208
commit
8d64c6d877
|
@ -390,7 +390,7 @@
|
||||||
)
|
)
|
||||||
},
|
},
|
||||||
addExtensionsManifest() {
|
addExtensionsManifest() {
|
||||||
const addManifest = this.formAddExtensionsManifest
|
const addManifest = this.formAddExtensionsManifest.trim()
|
||||||
const manifests = this.formData.lnbits_extensions_manifests
|
const manifests = this.formData.lnbits_extensions_manifests
|
||||||
if (addManifest && addManifest.length && !manifests.includes(addManifest)) {
|
if (addManifest && addManifest.length && !manifests.includes(addManifest)) {
|
||||||
this.formData.lnbits_extensions_manifests = [...manifests, addManifest]
|
this.formData.lnbits_extensions_manifests = [...manifests, addManifest]
|
||||||
|
|
Loading…
Reference in New Issue
Block a user