test: instructor for courses
This commit is contained in:
@@ -1,15 +1,17 @@
|
||||
<template>
|
||||
<Avatar
|
||||
class="avatar border border-gray-300"
|
||||
v-if="user"
|
||||
:label="user.full_name"
|
||||
:image="user.user_image"
|
||||
:size="size"
|
||||
v-bind="$attrs"
|
||||
/>
|
||||
<Tooltip :text="user.full_name">
|
||||
<Avatar
|
||||
class="avatar border border-gray-300 cursor-auto"
|
||||
v-if="user"
|
||||
:label="user.full_name"
|
||||
:image="user.user_image"
|
||||
:size="size"
|
||||
v-bind="$attrs"
|
||||
/>
|
||||
</Tooltip>
|
||||
</template>
|
||||
<script setup>
|
||||
import { Avatar } from 'frappe-ui'
|
||||
import { Avatar, Tooltip } from 'frappe-ui'
|
||||
const props = defineProps({
|
||||
user: {
|
||||
type: Object,
|
||||
|
||||
Reference in New Issue
Block a user