Open tientran1234 opened 1 month ago
Handle no record UI: can you explan more ? @minhhy2801
Handle no record UI: can you explan more ? @minhhy2801
This ticket was moved to next sprint. We will discuss it in next sprint
can you explain this again ? sir @minhhy2801
@tientran1234 I need you to define the type of data you want to response from the server when you call api get list acount
ex :
type UserList = Array<{
_id : string
name : string
email : string
status : UserStatus
role : UserRole
}>
const userList : UserList = await databaseService.users.getListAccount()
res.json({
message : ''get list user success'',
data : {
listUser : usersList
}
})
@hoangday185 yeah like this id: name sdt mail role status active or block
Sample: https://dribbble.com/tags/user-list Requirement:
Column requirement