SQl схема и мелкие фиксы
This commit is contained in:
@@ -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: 'Редактирование' },
|
||||
|
||||
Reference in New Issue
Block a user