refactor: Update date input fields with min and max values

This commit is contained in:
Sean Morley
2024-07-31 11:01:41 -04:00
parent 4e44203239
commit 17498121a3
6 changed files with 45 additions and 2 deletions

View File

@@ -52,7 +52,7 @@
{#if transportation.date}
{new Date(transportation.date).toLocaleString()}
{/if}
{#if user}
{#if user?.pk === transportation.user_id}
<div class="card-actions justify-end">
<button on:click={deleteTransportation} class="btn btn-secondary"
><TrashCanOutline class="w-5 h-5 mr-1" /></button