Commit 878f870a authored by George Tsiolis's avatar George Tsiolis

Use Tooltip component in MrWidgetAuthorTime vue component

parent a239936a
<script> <script>
import tooltip from '~/vue_shared/directives/tooltip';
import MrWidgetAuthor from './mr_widget_author.vue'; import MrWidgetAuthor from './mr_widget_author.vue';
export default { export default {
...@@ -6,6 +7,9 @@ ...@@ -6,6 +7,9 @@
components: { components: {
MrWidgetAuthor, MrWidgetAuthor,
}, },
directives: {
tooltip,
},
props: { props: {
actionText: { actionText: {
type: String, type: String,
...@@ -32,8 +36,7 @@ ...@@ -32,8 +36,7 @@
<mr-widget-author :author="author" /> <mr-widget-author :author="author" />
<time <time
:title="dateTitle" :title="dateTitle"
data-toggle="tooltip" v-tooltip
data-placement="top"
data-container="body" data-container="body"
> >
{{ dateReadable }} {{ dateReadable }}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment