We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7ceb1f4 commit 7288694Copy full SHA for 7288694
1 file changed
src/Components/Event/useEditForm.ts
@@ -156,7 +156,7 @@ export function useEditForm(event: Models.IEvent) {
156
function setUpdateAt(value = updateAt) {
157
let err: boolean = false;
158
159
- if (value && value < start) {
+ if (IsIncident(type) && value && value < start) {
160
setValUpdateAt("Update Date cannot be earlier than Start Date.");
161
err = true;
162
}
0 commit comments