Skip to content
Snippets Groups Projects
Commit 72c3aacc authored by Adam Procter's avatar Adam Procter
Browse files

remove any spaces in onBoarding

as couch and pouch dont like spaces they are now removed
parent 49755c56
No related branches found
No related tags found
No related merge requests found
...@@ -198,6 +198,9 @@ export default { ...@@ -198,6 +198,9 @@ export default {
createMicrocosm() { createMicrocosm() {
var str = this.localmicrocosm var str = this.localmicrocosm
var result = str.toLowerCase() var result = str.toLowerCase()
var final = result
result = final.split(' ').join('')
this.$store.dispatch('createMicrocosm', result) this.$store.dispatch('createMicrocosm', result)
localStorage.setItem('mylastMicrocosm', result) localStorage.setItem('mylastMicrocosm', result)
this.microcosm = true this.microcosm = true
...@@ -205,6 +208,8 @@ export default { ...@@ -205,6 +208,8 @@ export default {
setClient() { setClient() {
var str = this.clientid var str = this.clientid
var result = str.toLowerCase() var result = str.toLowerCase()
var final = result
result = final.split(' ').join('')
this.$store.dispatch('setClient', result), this.$store.dispatch('setClient', result),
localStorage.setItem('myNNClient', result) localStorage.setItem('myNNClient', result)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment