refac
This commit is contained in:
@@ -59,9 +59,7 @@
|
||||
case 'custom': {
|
||||
// Parse YYYY-MM-DD inputs; end date is inclusive (covers the full day)
|
||||
const start = customStart ? Math.floor(new Date(customStart).getTime() / 1000) : null;
|
||||
const end = customEnd
|
||||
? Math.floor(new Date(customEnd).getTime() / 1000) + day - 1
|
||||
: null;
|
||||
const end = customEnd ? Math.floor(new Date(customEnd).getTime() / 1000) + day - 1 : null;
|
||||
return { start, end };
|
||||
}
|
||||
default:
|
||||
|
||||
@@ -409,7 +409,6 @@
|
||||
{/if}
|
||||
</div>
|
||||
|
||||
|
||||
{#if permissions.chat.share}
|
||||
<div class="flex flex-col w-full">
|
||||
<div class="flex w-full justify-between my-1">
|
||||
|
||||
Reference in New Issue
Block a user