Skip to content

Commit 19ef590

Browse files
committed
fix: Correct logic in time selection
1 parent 80efb38 commit 19ef590

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)