2020-12-02 19:20:13 +00:00
|
|
|
<template>
|
|
|
|
<router-link
|
2020-12-02 20:42:44 +00:00
|
|
|
:to="{ name: 'UsersShow', params: { id: actor }}"
|
2020-12-02 19:20:13 +00:00
|
|
|
class="router-link">
|
2020-12-02 22:49:39 +00:00
|
|
|
<span style="font-weight: 600">@{{ actor }}</span>
|
2020-12-02 19:20:13 +00:00
|
|
|
</router-link>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
|
|
|
|
|
|
|
export default {
|
|
|
|
name: 'UserLink',
|
|
|
|
props: {
|
|
|
|
actor: {
|
2020-12-02 20:42:44 +00:00
|
|
|
type: String,
|
2020-12-02 19:20:13 +00:00
|
|
|
required: true
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
</script>
|