feat: standardize UI theme, fix dark mode consistency, and implement editorial tags
All checks were successful
Deploy to Production / Build and Deploy (push) Successful in 1m24s
All checks were successful
Deploy to Production / Build and Deploy (push) Successful in 1m24s
This commit is contained in:
@@ -932,6 +932,11 @@ export async function updateNote(id: string, data: {
|
||||
}
|
||||
}
|
||||
|
||||
if (data.labels !== undefined) {
|
||||
const refreshed = await prisma.note.findUnique({ where: { id } })
|
||||
if (refreshed) return parseNote(refreshed)
|
||||
}
|
||||
|
||||
return parseNote(note)
|
||||
} catch (error) {
|
||||
console.error('Error updating note:', error)
|
||||
|
||||
Reference in New Issue
Block a user