From 72c3aacc2c9b9a26a9f0983f495ae40b1f296603 Mon Sep 17 00:00:00 2001 From: Adam Procter <adamprocter@researchnot.es> Date: Fri, 20 Nov 2020 12:34:52 +0000 Subject: [PATCH] remove any spaces in onBoarding as couch and pouch dont like spaces they are now removed --- app/src/components/OnBoard.vue | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/app/src/components/OnBoard.vue b/app/src/components/OnBoard.vue index 1c76298..3f5054d 100644 --- a/app/src/components/OnBoard.vue +++ b/app/src/components/OnBoard.vue @@ -198,6 +198,9 @@ export default { createMicrocosm() { var str = this.localmicrocosm var result = str.toLowerCase() + var final = result + result = final.split(' ').join('') + this.$store.dispatch('createMicrocosm', result) localStorage.setItem('mylastMicrocosm', result) this.microcosm = true @@ -205,6 +208,8 @@ export default { setClient() { var str = this.clientid var result = str.toLowerCase() + var final = result + result = final.split(' ').join('') this.$store.dispatch('setClient', result), localStorage.setItem('myNNClient', result) -- GitLab