diff options
| author | ReAnzu | 2018-03-09 00:19:17 -0600 |
|---|---|---|
| committer | Marcin Kurczewski | 2018-03-09 07:53:54 +0100 |
| commit | c770ad8f28064574fcbcdeea44e895b911acd8f3 (patch) | |
| tree | 0ae7c18cedf08c114659ede3be3add5367ad860b /client/js/models | |
| parent | 3f52aceca44bc52e0c8654f46c66073320109ae9 (diff) | |
client/posts: fix copy tags list of string values error #153
Diffstat (limited to 'client/js/models')
| -rw-r--r-- | client/js/models/post.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/client/js/models/post.js b/client/js/models/post.js index 2b63bd6..c575066 100644 --- a/client/js/models/post.js +++ b/client/js/models/post.js @@ -39,6 +39,7 @@ class Post extends events.EventTarget { get flags() { return this._flags; } get tags() { return this._tags; } + get tagNames() { return this._tags.map(tag => tag.names[0]); } get notes() { return this._notes; } get comments() { return this._comments; } get relations() { return this._relations; } |