leezng commented on code in PR #9821:
URL: https://github.com/apache/inlong/pull/9821#discussion_r1527743054
##########
inlong-dashboard/src/plugins/sources/common/SourceDefaultInfo.ts:
##########
@@ -146,10 +147,16 @@ export class SourceDefaultInfo implements
DataWithBackend, RenderRow, RenderList
readonly modifier: string;
parse(data) {
+ if (data.resetTime !== undefined) {
+ data.resetTime = dayjs(data.resetTime).format('YYYY-MM-DD HH:mm:ss');
Review Comment:
Is resetTime a parameter that all Source plugins have? If not, do not add it
to default.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]