Minor bug fixes

This commit is contained in:
Max G
2020-03-13 23:51:45 +00:00
parent f481a97a8c
commit 4533f6065d
3 changed files with 8 additions and 7 deletions

View File

@@ -455,9 +455,10 @@
if(!this.$store.getters.getIsUserOnMobile){
// this.editor.focus()
if(this.noteTitle && this.noteTitle.length == 0){
if(this.noteTitle.length == 0){
this.$refs.titleTextarea.focus()
} else {
this.editor.focus()
this.editor.moveCursorToEnd()
}

View File

@@ -94,9 +94,9 @@ export default new Vuex.Store({
//Save all the totals for the user
state.userTotals = totalsObject
Object.keys(totalsObject).forEach( key => {
console.log(key + ' -- ' + totalsObject[key])
})
// Object.keys(totalsObject).forEach( key => {
// console.log(key + ' -- ' + totalsObject[key])
// })
}
},