Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 | <template>
<div>
<v-icon
size="x-small"
class="me-1"
icon="mdi-account"
@click="open=true"
/>
<span class="text-caption me-2">
{{splitname(author)}}
</span>
<info-user-card
:author=author
:opendialog = open
@update:opendialog="open = $event"
/>
</div>
</template>
<script>
import {splitname} from '@/utils/universal_functions'
import { ref } from 'vue'
export default {
props: {
author: {
type: Object,
default: {}
}
},
setup() {
const open = ref(false)
return {
splitname,
open
}
}
}
</script>
<style>
</style> |