mirror of
https://github.com/finos/SymphonyElectron.git
synced 2024-11-27 11:20:45 -06:00
SEARCH-480
- Code refactoring
This commit is contained in:
parent
90dbe8980a
commit
d88022d3b5
@ -258,9 +258,7 @@ class Search {
|
||||
let sd_time = searchPeriod;
|
||||
if (startDate) {
|
||||
sd_time = new Date(parseInt(startDate, 10)).getTime();
|
||||
if (!sd_time) {
|
||||
sd_time = searchPeriod;
|
||||
} else if (sd_time < searchPeriod) {
|
||||
if (!sd_time || sd_time < searchPeriod) {
|
||||
sd_time = searchPeriod;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user