refactor: admin user modal, image upload, and new schedule page
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
This commit is contained in:
@@ -825,7 +825,7 @@
|
||||
{tags.length === 1 ? 'tag' : 'tags'}.
|
||||
{#if tags.length > 0}
|
||||
<div class="mt-3 flex flex-wrap gap-2">
|
||||
{#each tags as tag}
|
||||
{#each tags as tag (tag)}
|
||||
<span
|
||||
class="inline-block rounded-full bg-gray-200 px-2.5 py-1 text-xs text-gray-800"
|
||||
>
|
||||
|
||||
@@ -287,7 +287,7 @@
|
||||
month: 'long',
|
||||
day: 'numeric'
|
||||
});
|
||||
const today = new Date();
|
||||
const today = new SvelteDate();
|
||||
let age = today.getFullYear() - dob.getFullYear();
|
||||
const m = today.getMonth() - dob.getMonth();
|
||||
if (m < 0 || (m === 0 && today.getDate() < dob.getDate())) age--;
|
||||
|
||||
Reference in New Issue
Block a user