kartya inspect
This commit is contained in:
@@ -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 = () => {
|
||||
|
||||
Reference in New Issue
Block a user