Кнопка добавления в списке желаний
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 51s
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 51s
This commit is contained in:
@@ -453,17 +453,16 @@ function Wishlist({ onNavigate, refreshTrigger = 0, isActive = false }) {
|
||||
|
||||
return (
|
||||
<div className="wishlist">
|
||||
{/* Кнопка добавления */}
|
||||
<button onClick={handleAddClick} className="add-wishlist-button">
|
||||
Добавить
|
||||
</button>
|
||||
|
||||
{/* Основной список (разблокированные и заблокированные вместе) */}
|
||||
{items.length > 0 && (
|
||||
<div className="wishlist-grid">
|
||||
{items.map(renderItem)}
|
||||
</div>
|
||||
)}
|
||||
<div className="wishlist-grid">
|
||||
{items.map(renderItem)}
|
||||
<button
|
||||
onClick={handleAddClick}
|
||||
className="add-wishlist-button"
|
||||
>
|
||||
<div className="add-wishlist-icon">+</div>
|
||||
</button>
|
||||
</div>
|
||||
|
||||
{/* Завершённые - показываем только если есть завершённые желания */}
|
||||
{completedCount > 0 && (
|
||||
|
||||
Reference in New Issue
Block a user