diff options
author | George Tsiolis <tsiolis.g@gmail.com> | 2018-06-11 13:04:50 +0300 |
---|---|---|
committer | George Tsiolis <tsiolis.g@gmail.com> | 2018-06-11 13:04:50 +0300 |
commit | 878f870a5e9ec15e3eb00ff507ff432dd7034a7a (patch) | |
tree | 578f21cde2dac51396f38f3ff1eaf0a7e83d49f2 /app/assets | |
parent | a239936a4d16836670399952b91a18e1b2a35dc9 (diff) |
Use Tooltip component in MrWidgetAuthorTime vue component
Diffstat (limited to 'app/assets')
-rw-r--r-- | app/assets/javascripts/vue_merge_request_widget/components/mr_widget_author_time.vue | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/app/assets/javascripts/vue_merge_request_widget/components/mr_widget_author_time.vue b/app/assets/javascripts/vue_merge_request_widget/components/mr_widget_author_time.vue index 644e4b7d81a..8007d5c3114 100644 --- a/app/assets/javascripts/vue_merge_request_widget/components/mr_widget_author_time.vue +++ b/app/assets/javascripts/vue_merge_request_widget/components/mr_widget_author_time.vue @@ -1,4 +1,5 @@ <script> + import tooltip from '~/vue_shared/directives/tooltip'; import MrWidgetAuthor from './mr_widget_author.vue'; export default { @@ -6,6 +7,9 @@ components: { MrWidgetAuthor, }, + directives: { + tooltip, + }, props: { actionText: { type: String, @@ -32,8 +36,7 @@ <mr-widget-author :author="author" /> <time :title="dateTitle" - data-toggle="tooltip" - data-placement="top" + v-tooltip data-container="body" > {{ dateReadable }} |