Pages corrections
This commit is contained in:
parent
e96e4bbc5f
commit
70730709db
@ -226,7 +226,9 @@ export default function Navigation({ nextcloudFolders, onFolderSelect }: Navigat
|
|||||||
<button
|
<button
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
if (folder === 'Contacts') {
|
if (folder === 'Contacts') {
|
||||||
|
// Toggle expansion for sub-items, but also select the Contacts folder
|
||||||
setExpandedContacts(!expandedContacts);
|
setExpandedContacts(!expandedContacts);
|
||||||
|
onFolderSelect(folder);
|
||||||
} else {
|
} else {
|
||||||
onFolderSelect(folder);
|
onFolderSelect(folder);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user