fix: open folder onRowClick
This commit is contained in:
parent
a81f797266
commit
e7cf44e8e9
1 changed files with 4 additions and 0 deletions
|
@ -293,6 +293,10 @@ export default function Folders({ disableMediaPreview, exifEnabled, compress })
|
|||
},
|
||||
],
|
||||
}}
|
||||
onRowClick={(folder) => {
|
||||
setViewOpen(true);
|
||||
setActiveFolderId(folder.id);
|
||||
}}
|
||||
/>
|
||||
) : (
|
||||
<SimpleGrid cols={3} spacing='lg' breakpoints={[{ maxWidth: 'sm', cols: 1, spacing: 'sm' }]}>
|
||||
|
|
Loading…
Reference in a new issue