diff options
| author | Maxim Filippov <colixer@gmail.com> | 2018-12-13 19:57:11 +0300 |
|---|---|---|
| committer | Maxim Filippov <colixer@gmail.com> | 2018-12-13 19:57:11 +0300 |
| commit | e4a34cc4d4dcd882e8a546813215dcac95e4ceab (patch) | |
| tree | edd39959f1bb84e5958a37ff2d194db597e701b3 /src/components/status/status.js | |
| parent | 70c48a076d7f55c04e858a478d41a663118653d0 (diff) | |
Use 'userProfileLink' to generate user-profile link
Diffstat (limited to 'src/components/status/status.js')
| -rw-r--r-- | src/components/status/status.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/components/status/status.js b/src/components/status/status.js index ad6f4184..fbf99a23 100644 --- a/src/components/status/status.js +++ b/src/components/status/status.js @@ -7,6 +7,7 @@ import UserCardContent from '../user_card_content/user_card_content.vue' import StillImage from '../still-image/still-image.vue' import { filter, find } from 'lodash' import { highlightClass, highlightStyle } from '../../services/user_highlighter/user_highlighter.js' +import generateProfileLink from 'src/services/user_profile_link_generator/user_profile_link_generator' const Status = { name: 'Status', @@ -203,6 +204,9 @@ const Status = { return 'small' } return 'normal' + }, + userProfileLink (id, name) { + return generateProfileLink(id, name) } }, components: { |
