Adde trim to manifest upload

This commit is contained in:
ben 2023-01-25 21:20:20 +00:00
parent 880c955208
commit 8d64c6d877

View File

@ -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]