pawarprasad123 commented on code in PR #332:
URL: https://github.com/apache/atlas/pull/332#discussion_r2046814494


##########
dashboardv2/public/js/utils/Utils.js:
##########
@@ -953,15 +953,19 @@ define(['require', 'utils/Globals', 'pnotify', 
'utils/Messages', 'utils/Enums',
         var dateValue = null,
             dateFormat = Globals.dateTimeFormat,
             isValidDate = false;
-        if (options && options.date) {
+        if (options && options.date !== undefined) {
             dateValue = options.date;
+            if (dateValue === 0) {

Review Comment:
   this condition we can check previously, outside the if condition, we can 
avoid nested condition here. Same can be implemented on dashboardv3 file.



-- 
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: dev-unsubscr...@atlas.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to