mirror of
https://github.com/baptisteArno/typebot.io.git
synced 2026-06-05 21:04:43 +08:00
🚑 (folders) Make sure folders are not all listed in root folder
This commit is contained in:
parent
83231e6f13
commit
fa2eeff96e
@ -46,7 +46,7 @@ export const listFolders = authenticatedProcedure
|
||||
const folders = await prisma.dashboardFolder.findMany({
|
||||
where: {
|
||||
workspaceId,
|
||||
parentFolderId,
|
||||
parentFolderId: parentFolderId ?? null,
|
||||
},
|
||||
orderBy: {
|
||||
createdAt: 'desc',
|
||||
|
||||
Loading…
Reference in New Issue
Block a user