fix: minor issues

This commit is contained in:
Jannat Patel
2024-05-24 17:00:14 +05:30
parent 180c8941a4
commit 9a776dabed
3 changed files with 6 additions and 4 deletions

View File

@@ -40,7 +40,7 @@
v-if="userResource"
class="mt-1 text-sm text-gray-700 leading-none"
>
{{ convertToTitleCase(userResource.data?.email.split('@')[0]) }}
{{ convertToTitleCase(userResource.data?.full_name) }}
</div>
</div>
<div

View File

@@ -51,7 +51,7 @@
</div>
</template>
<script setup>
import { Breadcrumbs, FormControl, createResource } from 'frappe-ui'
import { Breadcrumbs, FormControl, createResource, debounce } from 'frappe-ui'
import { ref, computed } from 'vue'
import UserAvatar from '@/components/UserAvatar.vue'
import { Search } from 'lucide-vue-next'
@@ -61,7 +61,8 @@ const searchQuery = ref('')
const participants = createResource({
url: 'lms.lms.api.get_certified_participants',
method: 'GET',
cache: ['certified_participants'],
debounce: 300,
cache: ['certified_participants', searchQuery.value],
makeParams() {
return {
search_query: searchQuery.value,

View File

@@ -1,5 +1,6 @@
{
"actions": [],
"allow_import": 1,
"allow_rename": 1,
"autoname": "format:QTS-{YYYY}-{#####}",
"creation": "2023-10-10 10:24:14.035772",
@@ -194,7 +195,7 @@
],
"index_web_pages_for_search": 1,
"links": [],
"modified": "2023-10-18 21:58:42.653317",
"modified": "2024-05-24 16:12:26.331351",
"modified_by": "Administrator",
"module": "LMS",
"name": "LMS Question",