ref: table UI

This commit is contained in:
2026-09-13 18:59:48 +07:00
parent 1c877de130
commit 02cda47b72
14 changed files with 259 additions and 94 deletions
+1 -1
View File
@@ -12,7 +12,7 @@
<aside
class="fixed inset-y-0 left-0 z-40 flex w-[236px] transform flex-col border-r px-3 py-4 transition-transform duration-200 lg:static"
:class="sidebarOpen ? 'translate-x-0' : '-translate-x-full lg:hidden'"
style="background: var(--board); border-color: var(--hairline)"
style="background: var(--panel); border-color: var(--hairline)"
>
<div class="mb-5 flex items-center justify-between px-2">
<router-link to="/projects" class="flex items-center gap-2.5">
+2 -2
View File
@@ -12,7 +12,7 @@
<aside
class="fixed inset-y-0 left-0 z-40 flex w-[236px] transform flex-col border-r px-3 py-4 transition-transform duration-200 lg:static"
:class="sidebarOpen ? 'translate-x-0' : '-translate-x-full lg:hidden'"
style="background: var(--board); border-color: var(--hairline)"
style="background: var(--panel); border-color: var(--hairline)"
>
<div class="mb-5 flex items-center justify-between px-2">
<router-link :to="auth.isAdmin ? '/projects' : '/select-project'" class="flex items-center gap-2.5">
@@ -145,7 +145,7 @@ const projects = ref<Project[]>([])
async function loadProjects() {
try {
const res = await getProjects(1, 100)
const res = await getProjects({ page: 1, pageSize: 100 })
projects.value = res.items
} catch {
projects.value = []