зеркало из https://github.com/nextcloud/deck.git
Merge pull request #2188 from joreiff/fix/2187
CardBadges: Count checkboxes started with "+ [ ]"
This commit is contained in:
Коммит
ed3b0823e2
|
@ -52,10 +52,10 @@ export default {
|
|||
},
|
||||
computed: {
|
||||
checkListCount() {
|
||||
return (this.card.description.match(/^\s*(\*|-|(\d\.))\s+\[\s*(\s|x)\s*\](.*)$/gim) || []).length
|
||||
return (this.card.description.match(/^\s*([*+-]|(\d\.))\s+\[\s*(\s|x)\s*\](.*)$/gim) || []).length
|
||||
},
|
||||
checkListCheckedCount() {
|
||||
return (this.card.description.match(/^\s*(\*|-|(\d\.))\s+\[\s*x\s*\](.*)$/gim) || []).length
|
||||
return (this.card.description.match(/^\s*([*+-]|(\d\.))\s+\[\s*x\s*\](.*)$/gim) || []).length
|
||||
},
|
||||
card() {
|
||||
return this.$store.getters.cardById(this.id)
|
||||
|
|
Загрузка…
Ссылка в новой задаче