Resolved import bug.
This commit is contained in:
@@ -108,5 +108,10 @@
|
||||
"title": "Release Notes for 1.1.1",
|
||||
"date": "03/30/2023",
|
||||
"notes": "Minor bug fix."
|
||||
},
|
||||
"1.1.2": {
|
||||
"title": "Release Notes for 1.1.2",
|
||||
"date": "04/12/2023",
|
||||
"notes": "Bug Fixes:\r\nResolved an issue where the incorrect ruleset could apply to a job on first import."
|
||||
}
|
||||
}
|
||||
|
||||
@@ -32,7 +32,7 @@ function ChangeOfRuleSet({
|
||||
}
|
||||
|
||||
function WhichRulesetToApply(close_date) {
|
||||
const DateMoment = moment(close_date);
|
||||
const DateMoment = close_date ? moment(close_date) : moment();
|
||||
const newRuleSet = RuleSets.find(
|
||||
(r) =>
|
||||
DateMoment.isSameOrAfter(r.range[0]) && DateMoment.isBefore(r.range[1])
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
"productName": "ImEX RPS",
|
||||
"author": "ImEX Systems Inc. <support@thinkimex.com>",
|
||||
"description": "ImEX RPS",
|
||||
"version": "1.1.1",
|
||||
"version": "1.1.2",
|
||||
"main": "electron/main.js",
|
||||
"homepage": "./",
|
||||
"dependencies": {
|
||||
|
||||
Reference in New Issue
Block a user