2021-01-03 14:25:43 +05:30
|
|
|
<script>
|
|
|
|
// NOTE! For the first iteration, we are simply copying the implementation of Assignees
|
|
|
|
// It will soon be overhauled in Issue https://gitlab.com/gitlab-org/gitlab/-/issues/233736
|
|
|
|
import ReviewerAvatar from './reviewer_avatar.vue';
|
|
|
|
|
|
|
|
export default {
|
|
|
|
components: {
|
|
|
|
ReviewerAvatar,
|
|
|
|
},
|
|
|
|
props: {
|
|
|
|
user: {
|
|
|
|
type: Object,
|
|
|
|
required: true,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
};
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<template>
|
2022-07-23 23:45:48 +05:30
|
|
|
<button type="button" class="btn-link gl-button">
|
2021-01-03 14:25:43 +05:30
|
|
|
<reviewer-avatar :user="user" :img-size="24" />
|
|
|
|
<span class="author"> {{ user.name }} </span>
|
|
|
|
</button>
|
|
|
|
</template>
|