1
0

SQl схема и мелкие фиксы

This commit is contained in:
2026-01-15 07:20:26 +07:00
parent 3bfa1e9e1b
commit 901604afd4
3 changed files with 35 additions and 4 deletions

View File

@@ -4,7 +4,7 @@
@close="tryClose"
>
<template #header>
<h2>{{ isNew ? 'Новая задача' : 'Редактирование' }}</h2>
<h2>{{ panelTitle }}</h2>
<span v-if="!isNew && card?.dateCreate" class="header-date">
Создано: {{ formatDate(card.dateCreate) }}
</span>
@@ -199,6 +199,13 @@ const showRestoreDialog = ref(false)
// Image preview
const previewImage = ref(null)
// Panel title
const panelTitle = computed(() => {
if (isNew.value) return 'Новая задача'
if (activeTab.value === 'comments') return 'Комментарии'
return 'Редактирование'
})
// Tabs config
const tabsConfig = computed(() => [
{ id: 'edit', icon: 'pencil', title: 'Редактирование' },