Skip to content

Commit 8aad54e

Browse files
authored
Merge pull request #793 from sfayer/fix_timepanel
fix: Correct logic in time selection
2 parents 12a1fc8 + 19ef590 commit 8aad54e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/WebAppDIRAC/WebApp/static/core/js/utils/DiracTimeSearchPanel.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ Ext.define("Ext.dirac.utils.DiracTimeSearchPanel", {
230230

231231
var iSpanValue = me.cmbTimeSpan.getValue();
232232

233-
if (iSpanValue == null && iSpanValue == 0) {
233+
if (iSpanValue == null || iSpanValue == 0) {
234234
sStartDate = null;
235235
sStartTime = null;
236236
sEndDate = null;

0 commit comments

Comments
 (0)