drop position trigger on labels table and sort labels by name returned by labels api

This commit is contained in:
Hongbo Wu
2023-10-12 10:39:35 +08:00
parent 135999fa83
commit b0f0dba53d
3 changed files with 28 additions and 1 deletions

View File

@ -54,7 +54,7 @@ export const labelsResolver = authorized<LabelsSuccess, LabelsError>(
user: { id: uid },
},
order: {
position: 'ASC',
name: 'ASC',
},
})
})