added should dirty (#20647)

fixes: #20506
This commit is contained in:
Erik Jan de Wit 2023-05-30 14:08:37 +02:00 committed by GitHub
parent 34e56ccd81
commit 1124681603
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -41,7 +41,7 @@ export const EventConfigForm = ({
titleKey: "realm-settings:events-disable-title",
messageKey: "realm-settings:events-disable-confirm",
continueButtonLabel: "realm-settings:confirm",
onConfirm: () => setValue(eventKey, false),
onConfirm: () => setValue(eventKey, false, { shouldDirty: true }),
});
return (