style: fixed formatting

This commit is contained in:
Jannat Patel
2024-09-05 20:31:22 +05:30
parent 4979569cf3
commit 965f6adb90
2 changed files with 10 additions and 6 deletions

View File

@@ -43,7 +43,7 @@
{{ __('Add') }}
</Button>
</div>
<div class="mt-2 pb-10 overflow-auto">
<!-- Member list -->
<div class="overflow-y-scroll">
@@ -79,14 +79,15 @@
<div v-if="member.last_active">
{{ dayjs(member.last_active).format('DD MMM, YYYY HH:mm a') }}
</div>
<div v-else>
-
</div>
<div v-else>-</div>
</div>
</li>
</ul>
</div>
<div v-if="memberList.length && hasNextPage" class="flex justify-center mt-4">
<div
v-if="memberList.length && hasNextPage"
class="flex justify-center mt-4"
>
<Button @click="members.reload()">
<template #prefix>
<RefreshCw class="h-3 w-3 stroke-1.5" />

View File

@@ -36,7 +36,10 @@ class LMSCertificateRequest(Document):
def validate_unavailability(self):
if self.evaluator:
unavailable = frappe.db.get_value(
"Course Evaluator", self.evaluator, ["unavailable_from", "unavailable_to"], as_dict=1
"Course Evaluator",
self.evaluator,
["unavailable_from", "unavailable_to"],
as_dict=1,
)
if (
unavailable.unavailable_from