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, durationYear: e.durationYear,
other: e.other, other: e.other,
fundName: e.fundName, fundName: e.fundName,
isDate: e.isDate.toString(), isDate: e.isDate == null ? null : e.isDate.toString(),
finishDate: new Date(e.finishDate), finishDate: new Date(e.finishDate),
startDate: new Date(e.startDate).getFullYear(), startDate: new Date(e.startDate).getFullYear(),
endDate: new Date(e.endDate).getFullYear(), endDate: new Date(e.endDate).getFullYear(),

View file

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

View file

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