Skip to content

Commit

Permalink
fix: Navigation into trash viewer
Browse files Browse the repository at this point in the history
  • Loading branch information
cballevre committed Dec 7, 2023
1 parent fd4de47 commit 7119eca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/drive/web/modules/views/Trash/FilesViewerTrash.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@ const FilesViewerWithQuery = props => {
{...props}
files={viewableFiles}
filesQuery={filesResult}
onClose={() => navigate(`/trash/${props.currentFolderId}`)}
onClose={() => navigate(`/trash/${currentFolderId}`)}
onChange={fileId =>
navigate(`/trash/${props.currentFolderId}/file/${fileId}`)
navigate(`/trash/${currentFolderId}/file/${fileId}`)
}
/>
)
Expand Down

0 comments on commit 7119eca

Please sign in to comment.