test: instructor for courses

This commit is contained in:
Jannat Patel
2024-06-25 19:56:50 +05:30
parent 96028c9f42
commit b18a3cb5e1
5 changed files with 30 additions and 11 deletions

View File

@@ -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,