You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by GitBox <gi...@apache.org> on 2018/05/09 07:34:08 UTC

[GitHub] hanahmily closed pull request #168: Fix Trace search time is null , there is an error

hanahmily closed pull request #168: Fix Trace search time is null ,there is an error
URL: https://github.com/apache/incubator-skywalking-ui/pull/168
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/src/routes/Trace/TraceSearch.js b/src/routes/Trace/TraceSearch.js
index 8e0cdaa..20e8c9a 100644
--- a/src/routes/Trace/TraceSearch.js
+++ b/src/routes/Trace/TraceSearch.js
@@ -210,7 +210,12 @@ export default class Trace extends PureComponent {
     return (
       <Form onSubmit={this.handleSearch} layout="vertical">
         <FormItem label="Time Range">
-          {getFieldDecorator('range-time-picker')(
+          {getFieldDecorator('range-time-picker', {
+            rules: [{
+              required: true,
+              message: 'Please select the correct date',
+            }],
+          })(
             <RangePicker
               showTime
               disabledDate={current => current && current.valueOf() >= Date.now()}


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services