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",
|
||||
"version": "6.6.2",
|
||||
"version": "6.6.3",
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"dev": "vite",
|
||||
|
||||
@@ -480,22 +480,10 @@
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
.task-wishlist-link-button {
|
||||
background: none;
|
||||
border: none;
|
||||
.task-wishlist-link-name {
|
||||
color: #6366f1;
|
||||
font-size: 0.95rem;
|
||||
font-weight: 500;
|
||||
cursor: pointer;
|
||||
padding: 0.25rem 0.5rem;
|
||||
border-radius: 4px;
|
||||
transition: all 0.2s;
|
||||
text-decoration: underline;
|
||||
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>
|
||||
</svg>
|
||||
<span className="task-wishlist-link-label">Связано с желанием:</span>
|
||||
<button
|
||||
onClick={() => {
|
||||
if (onClose) onClose()
|
||||
if (onNavigate && wishlistInfo) {
|
||||
onNavigate('wishlist-detail', { wishlistId: wishlistInfo.id })
|
||||
}
|
||||
}}
|
||||
className="task-wishlist-link-button"
|
||||
>
|
||||
<span className="task-wishlist-link-name">
|
||||
{wishlistInfo.name}
|
||||
</button>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
)}
|
||||
|
||||
@@ -374,6 +374,7 @@ function WishlistDetail({ wishlistId, onNavigate, onRefresh, boardId, onClose, p
|
||||
if (onNavigate) {
|
||||
onNavigate('wishlist')
|
||||
}
|
||||
onClose?.()
|
||||
}
|
||||
|
||||
const handleDeleteTask = async (e) => {
|
||||
|
||||
Reference in New Issue
Block a user