ปรับ field รายละเอียดการลา
This commit is contained in:
parent
23314ca3a6
commit
151a1100bb
2 changed files with 2 additions and 1 deletions
|
|
@ -7,6 +7,7 @@ interface Noti {
|
|||
isOpen: false
|
||||
receiveDate: Date | null
|
||||
openDate: null
|
||||
createdFullName: string
|
||||
}
|
||||
|
||||
export type { Noti }
|
||||
|
|
|
|||
|
|
@ -55,7 +55,7 @@ async function fetchNotifications() {
|
|||
.then((res) => {
|
||||
const response = res.data.result
|
||||
const list: notiType[] = []
|
||||
response.map((e: Noti) => {
|
||||
response.map((e: any) => {
|
||||
list.push({
|
||||
id: e.id,
|
||||
sender:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue