6.6.3: Фикс закрытия желания при выполнении задачи
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 1m5s
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 1m5s
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "play-life-web",
|
"name": "play-life-web",
|
||||||
"version": "6.6.2",
|
"version": "6.6.3",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "vite",
|
"dev": "vite",
|
||||||
|
|||||||
@@ -480,22 +480,10 @@
|
|||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
}
|
}
|
||||||
|
|
||||||
.task-wishlist-link-button {
|
.task-wishlist-link-name {
|
||||||
background: none;
|
|
||||||
border: none;
|
|
||||||
color: #6366f1;
|
color: #6366f1;
|
||||||
font-size: 0.95rem;
|
font-size: 0.95rem;
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
cursor: pointer;
|
|
||||||
padding: 0.25rem 0.5rem;
|
|
||||||
border-radius: 4px;
|
|
||||||
transition: all 0.2s;
|
|
||||||
text-decoration: underline;
|
|
||||||
margin-left: auto;
|
margin-left: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
.task-wishlist-link-button:hover {
|
|
||||||
background-color: rgba(99, 102, 241, 0.1);
|
|
||||||
text-decoration: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|||||||
@@ -790,17 +790,9 @@ function TaskDetail({ taskId, onClose, onRefresh, onTaskCompleted, onNavigate })
|
|||||||
<path d="M12 7h4.5a2.5 2.5 0 0 0 0-5C13 2 12 7 12 7z"></path>
|
<path d="M12 7h4.5a2.5 2.5 0 0 0 0-5C13 2 12 7 12 7z"></path>
|
||||||
</svg>
|
</svg>
|
||||||
<span className="task-wishlist-link-label">Связано с желанием:</span>
|
<span className="task-wishlist-link-label">Связано с желанием:</span>
|
||||||
<button
|
<span className="task-wishlist-link-name">
|
||||||
onClick={() => {
|
|
||||||
if (onClose) onClose()
|
|
||||||
if (onNavigate && wishlistInfo) {
|
|
||||||
onNavigate('wishlist-detail', { wishlistId: wishlistInfo.id })
|
|
||||||
}
|
|
||||||
}}
|
|
||||||
className="task-wishlist-link-button"
|
|
||||||
>
|
|
||||||
{wishlistInfo.name}
|
{wishlistInfo.name}
|
||||||
</button>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
|
|||||||
@@ -374,6 +374,7 @@ function WishlistDetail({ wishlistId, onNavigate, onRefresh, boardId, onClose, p
|
|||||||
if (onNavigate) {
|
if (onNavigate) {
|
||||||
onNavigate('wishlist')
|
onNavigate('wishlist')
|
||||||
}
|
}
|
||||||
|
onClose?.()
|
||||||
}
|
}
|
||||||
|
|
||||||
const handleDeleteTask = async (e) => {
|
const handleDeleteTask = async (e) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user