wip
This commit is contained in:
1 parent
3157946186
commit
e62747d62d
8 files changed
+161
-38
No files matched your search
+3
-12
@@ -9,6 +9,7 @@ import { authClient } from '@/lib/auth-client.ts'
|
||||
import type { Issue } from '@/api/issue.api.ts'
|
||||
import type { Project } from '@/api/project.api.ts'
|
||||
import DashboardCountCard from '@/components/DashboardCountCard.vue'
|
||||
import LabelText from '@/components/LabelText.vue'
|
||||
|
||||
const ACTIVE_STATUSES: Issue['status'][] = ['OPEN', 'IN_PROGRESS']
|
||||
|
||||
@@ -177,18 +178,8 @@ function onClickCard(status?: string) {
|
||||
</v-card-title>
|
||||
<v-divider />
|
||||
<v-list v-if="projects.length" density="compact">
|
||||
<v-list-item
|
||||
v-for="project in projects.slice(0, 6)"
|
||||
:key="project.id"
|
||||
class="cursor-pointer"
|
||||
@click="openProject(project)"
|
||||
>
|
||||
<template #prepend>
|
||||
<v-chip size="small" color="primary" variant="flat" density="compact">{{ project.key }}</v-chip>
|
||||
</template>
|
||||
<template #title>
|
||||
<span class="ml-2">{{ project.name }}</span>
|
||||
</template>
|
||||
<v-list-item v-for="project in projects.slice(0, 6)" :key="project.id" @click="openProject(project)">
|
||||
<label-text :label="project.key" :text="project.name" />
|
||||
</v-list-item>
|
||||
</v-list>
|
||||
<v-card-text v-else class="text-medium-emphasis">Нет проектов</v-card-text>
|
||||
|
||||
Reference in new issue
Block a user