mirror of
https://github.com/khairul169/code-share.git
synced 2026-10-24 11:53:58 +07:00
feat: fix panel persist over server rendering, etc
This commit is contained in:
@@ -21,7 +21,7 @@ const fileRouter = router({
|
||||
opt?.isPinned ? eq(file.isPinned, true) : undefined
|
||||
),
|
||||
orderBy: [desc(file.isDirectory), asc(file.filename)],
|
||||
columns: { content: false },
|
||||
columns: !file.isPinned ? { content: true } : undefined,
|
||||
});
|
||||
|
||||
return files;
|
||||
|
||||
Reference in New Issue
Block a user