style: apply prettier formatting to frontend
This commit is contained in:
@@ -719,7 +719,9 @@
|
||||
size="sm"
|
||||
class="flex-1 text-xs"
|
||||
onclick={() => {
|
||||
newStartDate = new Date().toLocaleDateString('en-CA', { timeZone: 'Europe/London' });
|
||||
newStartDate = new Date().toLocaleDateString('en-CA', {
|
||||
timeZone: 'Europe/London'
|
||||
});
|
||||
onStartDateChange();
|
||||
}}
|
||||
>
|
||||
@@ -731,7 +733,9 @@
|
||||
size="sm"
|
||||
class="flex-1 text-xs"
|
||||
onclick={() => {
|
||||
newStartDate = new Date(Date.now() + 86400000).toLocaleDateString('en-CA', { timeZone: 'Europe/London' });
|
||||
newStartDate = new Date(Date.now() + 86400000).toLocaleDateString('en-CA', {
|
||||
timeZone: 'Europe/London'
|
||||
});
|
||||
onStartDateChange();
|
||||
}}
|
||||
>
|
||||
@@ -860,7 +864,13 @@
|
||||
{#each overlappingBookings as booking (booking.id)}
|
||||
<div class="rounded-md border border-amber-200 bg-white p-3">
|
||||
<div class="min-w-0">
|
||||
<div class="text-sm font-medium">{formatUserName(booking.user?.full_name || 'Unknown', booking.user?.previous_first_name, booking.user?.previous_last_name)}</div>
|
||||
<div class="text-sm font-medium">
|
||||
{formatUserName(
|
||||
booking.user?.full_name || 'Unknown',
|
||||
booking.user?.previous_first_name,
|
||||
booking.user?.previous_last_name
|
||||
)}
|
||||
</div>
|
||||
<div class="text-xs text-gray-500">
|
||||
{parseWallClockDate(booking.start_time).toLocaleTimeString('en-GB', {
|
||||
hour: 'numeric',
|
||||
|
||||
Reference in New Issue
Block a user