mirror of
https://github.com/mattermost/mattermost.git
synced 2026-05-28 04:35:04 -04:00
Temp disable of true up calendar checks for testing
This commit is contained in:
parent
f238b0d07f
commit
73055bdb25
1 changed files with 4 additions and 4 deletions
|
|
@ -210,15 +210,15 @@ const TrueUpReview: React.FC = () => {
|
|||
}
|
||||
|
||||
// Only display the review details if we are within 2 weeks of the review due date.
|
||||
const visibilityStart = moment(reviewStatus.due_date).startOf('day').subtract(30, 'days');
|
||||
/*const visibilityStart = moment(reviewStatus.due_date).startOf('day').subtract(30, 'days');
|
||||
if (moment().isSameOrBefore(visibilityStart)) {
|
||||
return null;
|
||||
}
|
||||
}*/
|
||||
|
||||
// If the review has already been submitted, don't show anything.
|
||||
if (reviewStatus.complete) {
|
||||
/* if (reviewStatus.complete) {
|
||||
return null;
|
||||
}
|
||||
}*/
|
||||
|
||||
if (telemetryEnabled) {
|
||||
return null;
|
||||
|
|
|
|||
Loading…
Reference in a new issue