carnet panel

This commit is contained in:
alma 2025-04-20 18:38:53 +02:00
parent 90ead6be7f
commit 144d96e153

View File

@ -196,6 +196,11 @@ export default function CarnetPage() {
if (isMobile) {
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) {