kartya inspect

This commit is contained in:
2025-10-31 17:38:14 +01:00
parent 129ea694f8
commit 1af7bdc3f0
3 changed files with 658 additions and 2 deletions
@@ -127,8 +127,19 @@ export default function DeckInfoPopUp({ deck, onClose }) {
}
const handleOpenDeck = () => {
// TODO: Megnyitás funkció - később implementálható
alert("⚠️ A pakli megnyitás funkció még fejlesztés alatt áll!")
// Get the deck ID from raw data
const deckId = rawData.id || deck.id
if (!deckId) {
alert("⚠️ Hiba: A pakli azonosítója nem található!")
return
}
// Navigate to card display page
navigate(`/deck/${deckId}`)
// Close the popup
onClose()
}
const handleEditDeck = () => {