Skip to content

Commit

Permalink
style: fixed formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
pateljannat committed Sep 5, 2024
1 parent 4979569 commit 965f6ad
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
11 changes: 6 additions & 5 deletions frontend/src/components/Members.vue
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
{{ __('Add') }}
</Button>
</div>

<div class="mt-2 pb-10 overflow-auto">
<!-- Member list -->
<div class="overflow-y-scroll">
Expand Down Expand Up @@ -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" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,10 @@ def set_evaluator(self):
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
Expand Down

0 comments on commit 965f6ad

Please sign in to comment.