From 9469979a91691655df148daf2e6bf30adbe213d1 Mon Sep 17 00:00:00 2001 From: Eric Eastwood Date: Sun, 10 Dec 2017 04:44:53 -0600 Subject: Try to clean up legit Vue error that was patched over See https://gitlab.com/gitlab-org/gitlab-ce/issues/37619#note_50422859 --- app/assets/javascripts/notes/components/issue_note.vue | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'app/assets/javascripts') diff --git a/app/assets/javascripts/notes/components/issue_note.vue b/app/assets/javascripts/notes/components/issue_note.vue index 8c81c5d6df3..85231b2314c 100644 --- a/app/assets/javascripts/notes/components/issue_note.vue +++ b/app/assets/javascripts/notes/components/issue_note.vue @@ -122,9 +122,7 @@ // we need to do this to prevent noteForm inconsistent content warning // this is something we intentionally do so we need to recover the content this.note.note = noteText; - if (this.$refs.noteBody) { - this.$refs.noteBody.$refs.noteForm.note = noteText; // TODO: This could be better - } + this.$refs.noteBody.$refs.noteForm.note = noteText; }, }, created() { -- cgit v1.2.1