carnet panel
This commit is contained in:
parent
90ead6be7f
commit
144d96e153
@ -196,6 +196,11 @@ export default function CarnetPage() {
|
|||||||
if (isMobile) {
|
if (isMobile) {
|
||||||
setShowNotes(false);
|
setShowNotes(false);
|
||||||
}
|
}
|
||||||
|
// Refresh the notes list
|
||||||
|
fetch(`/api/nextcloud/files?folder=${selectedFolder}`)
|
||||||
|
.then(response => response.json())
|
||||||
|
.then(updatedNotes => setNotes(updatedNotes))
|
||||||
|
.catch(error => console.error('Error refreshing notes:', error));
|
||||||
};
|
};
|
||||||
|
|
||||||
if (isLoading) {
|
if (isLoading) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user