rep defect 46
This commit is contained in:
@@ -873,7 +873,7 @@ let MakeRepresentation = (props) => {
|
||||
useSaveStatus &&
|
||||
router.replace(
|
||||
router.locale != "en"
|
||||
? router.locale + "/myportal"
|
||||
? "/" + router.locale + "/fymhorth"
|
||||
: "/myportal"
|
||||
))
|
||||
: useSaveStatus
|
||||
@@ -884,7 +884,7 @@ let MakeRepresentation = (props) => {
|
||||
uploadRepresentationFiles(values),
|
||||
router.replace(
|
||||
router.locale != "en"
|
||||
? router.locale + "/myportal"
|
||||
? "/" + router.locale + "/fymhorth"
|
||||
: "/myportal"
|
||||
))
|
||||
: Object.assign(values, {
|
||||
|
||||
@@ -220,7 +220,12 @@ const RepCompleteSubmit = (props) => {
|
||||
function showRepsEnded(endDate) {
|
||||
let date = new Date();
|
||||
date = new Date(date.toDateString());
|
||||
const end = new Date(endDate);
|
||||
let end = new Date(endDate);
|
||||
end.setUTCHours(23);
|
||||
end.setUTCMinutes(59);
|
||||
end.setUTCSeconds(59);
|
||||
end.toISOString();
|
||||
|
||||
return end > date ? false : true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user