[CAL-1277]: When clicking a deleted type event while it's "deleting", it sends you to 500 error (#2968)

pull/2937/head^2
GitStart 2022-06-08 11:42:00 +03:00 committed by GitHub
parent 3a2224a4e4
commit 7151c65f1a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -2010,6 +2010,7 @@ const EventTypePage = (props: inferSSRProps<typeof getServerSideProps>) => {
{t("delete")} {t("delete")}
</DialogTrigger> </DialogTrigger>
<ConfirmationDialogContent <ConfirmationDialogContent
isLoading={deleteMutation.isLoading}
variety="danger" variety="danger"
title={t("delete_event_type")} title={t("delete_event_type")}
confirmBtnText={t("confirm_delete_event_type")} confirmBtnText={t("confirm_delete_event_type")}