We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ab553db commit 8d34ec8Copy full SHA for 8d34ec8
1 file changed
src/Components/Event/useEditForm.ts
@@ -138,7 +138,7 @@ export function useEditForm(event: Models.IEvent) {
138
function setUpdateAt(value = updateAt) {
139
let err: boolean = false;
140
141
- if (type !== EventType.Maintenance && value && value < start) {
+ if (IsIncident(type) && value && value < start) {
142
setValUpdateAt("Update Date cannot be earlier than Start Date.");
143
err = true;
144
}
0 commit comments