Merge pull request #1897 from nextcloud/bugfix/noid/card-description-nul

This commit is contained in:
Julius Härtl
2020-05-15 11:29:05 +02:00
committed by GitHub
3 changed files with 3 additions and 3 deletions

View File

@@ -327,7 +327,7 @@ export default {
},
},
renderedDescription() {
return markdownIt.render(this.copiedCard.description)
return markdownIt.render(this.copiedCard.description || '')
},
},
watch: {

View File

@@ -146,7 +146,7 @@ export default {
},
methods: {
openCard() {
this.$router.push({ name: 'card', params: { cardId: this.id } })
this.$router.push({ name: 'card', params: { cardId: this.id } }).catch(() => {})
},
startEditing(card) {
this.copiedCard = Object.assign({}, card)