Skip to content

Commit

Permalink
FEAT(fga-eps-mds/2024.2-ARANDU-DOC#66): corrigindo erros
Browse files Browse the repository at this point in the history
  • Loading branch information
Joao151104 committed Jan 29, 2025
1 parent c3b2dc1 commit 1764089
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/components/trailsList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,10 @@ export default function TrailsListPage({
if (action === 'gerenciar') {
router.push(`/studio/${selectedTrail!._id}`);
}
if (action === 'Visualizar') {
router.push(`/trail-page/${selectedTrail!._id}`);
}

};

const addTrail = (trail: Trail) => {
Expand Down Expand Up @@ -135,6 +139,9 @@ export default function TrailsListPage({
<MenuItem onClick={() => handleTrailAction('excluir')}>
Excluir
</MenuItem>
<MenuItem onClick={() => handleTrailAction('Visualizar')}>
Visualizar Trilha
</MenuItem>
</Menu>
</>
),
Expand Down

0 comments on commit 1764089

Please sign in to comment.