ปรับ 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
|
isOpen: false
|
||||||
receiveDate: Date | null
|
receiveDate: Date | null
|
||||||
openDate: null
|
openDate: null
|
||||||
|
createdFullName: string
|
||||||
}
|
}
|
||||||
|
|
||||||
export type { Noti }
|
export type { Noti }
|
||||||
|
|
|
||||||
|
|
@ -55,7 +55,7 @@ async function fetchNotifications() {
|
||||||
.then((res) => {
|
.then((res) => {
|
||||||
const response = res.data.result
|
const response = res.data.result
|
||||||
const list: notiType[] = []
|
const list: notiType[] = []
|
||||||
response.map((e: Noti) => {
|
response.map((e: any) => {
|
||||||
list.push({
|
list.push({
|
||||||
id: e.id,
|
id: e.id,
|
||||||
sender:
|
sender:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue