no message

This commit is contained in:
Kittapath 2023-07-22 23:13:04 +07:00
parent 2dd7d8988f
commit 41b8c39045
3 changed files with 3 additions and 3 deletions

View file

@ -1135,7 +1135,7 @@ const fetchData = async () => {
durationYear: e.durationYear,
other: e.other,
fundName: e.fundName,
isDate: e.isDate.toString(),
isDate: e.isDate == null ? null : e.isDate.toString(),
finishDate: new Date(e.finishDate),
startDate: new Date(e.startDate).getFullYear(),
endDate: new Date(e.endDate).getFullYear(),

View file

@ -19,7 +19,7 @@ interface RequestItemsObject {
durationYear: number;
other: string;
fundName: string;
isDate: string;
isDate: string | null;
finishDate: Date;
startDate: number;
endDate: number;

View file

@ -14,7 +14,7 @@ interface ResponseObject {
durationYear: number;
other: string;
fundName: string;
isDate: string;
isDate: string | null;
finishDate: Date;
startDate: number;
endDate: number;