Add insertion and deletion of tables for db sync, and user view

This commit is contained in:
2024-09-10 14:25:23 +02:00
parent fa1a13d411
commit e904f28b3b
14 changed files with 127 additions and 23 deletions

View File

@@ -76,7 +76,7 @@ async function debounced()
<div class="cursor-pointer hover:bg-light-25 dark:hover:bg-dark-25 px-4 py-1 " v-for="result of results.users" :key="result.id"
@mouseenter="(e) => (e.target as HTMLElement).classList.add('is-selected')"
@mouseleave="(e) => (e.target as HTMLElement).classList.remove('is-selected')"
@mousedown.prevent="navigateTo(`/user/${result.id}`); input = ''; emit('navigate');">
@mousedown.prevent="navigateTo(`/users/${result.id}`); input = ''; emit('navigate');">
<div class="">
<Highlight class="text-lg" :text="result.username" :matched="input" />
</div>