diff options
| author | lambadalambda <gitgud@rogerbraun.net> | 2017-04-12 13:14:43 -0400 |
|---|---|---|
| committer | lambadalambda <gitgud@rogerbraun.net> | 2017-04-12 13:14:43 -0400 |
| commit | 7a948ba3a56e2d4e7122b0ef23e2f9c4f0cb94d8 (patch) | |
| tree | 511a5564cd24332d3492561553df07a2517751cc /src/components/conversation/conversation.js | |
| parent | 9ed445fff07f0b0315d7895a2fd3acf1be1bd529 (diff) | |
| parent | d8a01454dc4c0613fc2310beea6c9a82da8e679f (diff) | |
Merge branch 'feature/reply-navigation' into 'develop'
Reply navigation (up only)
See merge request !70
Diffstat (limited to 'src/components/conversation/conversation.js')
| -rw-r--r-- | src/components/conversation/conversation.js | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/components/conversation/conversation.js b/src/components/conversation/conversation.js index 281b0183..f3aeb216 100644 --- a/src/components/conversation/conversation.js +++ b/src/components/conversation/conversation.js @@ -8,6 +8,11 @@ const sortAndFilterConversation = (conversation) => { } const conversation = { + data () { + return { + highlight: this.statusoid.id + } + }, props: [ 'statusoid', 'collapsable' @@ -54,6 +59,9 @@ const conversation = { } else { return (id === this.statusoid.id) } + }, + setHighlight (id) { + this.highlight = Number(id) } } } |
