[CAL-1277]: When clicking a deleted type event while it's "deleting", it sends you to 500 error (#2968)
parent
3a2224a4e4
commit
7151c65f1a
|
@ -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")}
|
||||||
|
|
Loading…
Reference in New Issue