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

This commit is contained in:
GitStart
2022-06-08 09:42:00 +01:00
committed by GitHub
parent 3a2224a4e4
commit 7151c65f1a
+1
View File
@@ -2010,6 +2010,7 @@ const EventTypePage = (props: inferSSRProps<typeof getServerSideProps>) => {
{t("delete")}
</DialogTrigger>
<ConfirmationDialogContent
isLoading={deleteMutation.isLoading}
variety="danger"
title={t("delete_event_type")}
confirmBtnText={t("confirm_delete_event_type")}