diff options
author | Phil Hughes <me@iamphill.com> | 2019-02-20 17:51:06 +0300 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2019-02-20 17:51:06 +0300 |
commit | 810a8b78b6ab09ea0259f5b6487d9ff2499d3caf (patch) | |
tree | bea1f98fd41cfbfa3bb2fb396921c40c0ab9cf44 /app/assets/javascripts/notes/components/notes_app.vue | |
parent | d7db2232f0cdb901f50d44f0887997ab9bb426b4 (diff) |
CE backport of design-management-issue-tab
Backports template and Vue changes from https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/9632 to CE
Diffstat (limited to 'app/assets/javascripts/notes/components/notes_app.vue')
-rw-r--r-- | app/assets/javascripts/notes/components/notes_app.vue | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/app/assets/javascripts/notes/components/notes_app.vue b/app/assets/javascripts/notes/components/notes_app.vue index a63571edcea..8d3f6d902f8 100644 --- a/app/assets/javascripts/notes/components/notes_app.vue +++ b/app/assets/javascripts/notes/components/notes_app.vue @@ -90,8 +90,15 @@ export default { this.fetchNotes(); } }, + allDiscussions() { + if (this.discussonsCount) { + this.discussonsCount.textContent = this.allDiscussions.length; + } + }, }, created() { + this.discussonsCount = document.querySelector('.js-discussions-count'); + this.setNotesData(this.notesData); this.setNoteableData(this.noteableData); this.setUserData(this.userData); |