File tree 2 files changed +10
-2
lines changed
2 files changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,11 @@ import {Select} from 'sentry-docs/components/changelog/ui/Select';
10
10
import { prisma } from 'sentry-docs/prisma' ;
11
11
12
12
export default async function ChangelogCreatePage ( { params} ) {
13
- const categories = await prisma . category . findMany ( ) ;
13
+ const categories = await prisma . category . findMany ( {
14
+ orderBy : {
15
+ name : 'asc' ,
16
+ } ,
17
+ } ) ;
14
18
const changelog = await prisma . changelog . findUnique ( {
15
19
where : { id : params . id } ,
16
20
include : {
Original file line number Diff line number Diff line change @@ -10,7 +10,11 @@ import {Select} from 'sentry-docs/components/changelog/ui/Select';
10
10
import { prisma } from 'sentry-docs/prisma' ;
11
11
12
12
export default async function ChangelogCreatePage ( ) {
13
- const categories = await prisma . category . findMany ( ) ;
13
+ const categories = await prisma . category . findMany ( {
14
+ orderBy : {
15
+ name : 'asc' ,
16
+ } ,
17
+ } ) ;
14
18
15
19
return (
16
20
< section className = "overflow-x-auto col-start-3 col-span-8" >
You can’t perform that action at this time.
0 commit comments