fix: duplicate event types (#14007)
* fix: duplicate event types * test: add test for duplicate event type * fix: type error * chore: pass error message --------- Co-authored-by: Erik <[email protected]>
This commit is contained in:
1 parent
5c8e0483b1
commit
7d497a621f
5 files changed
+31
-7
No files matched your search
@@ -95,7 +95,7 @@ const DuplicateDialog = () => {
|
||||
<Dialog
|
||||
name="duplicate"
|
||||
clearQueryParamsOnClose={["description", "title", "length", "slug", "name", "id", "pageSlug"]}>
|
||||
<DialogContent type="creation" className="overflow-y-auto" title="Duplicate Event Type">
|
||||
<DialogContent type="creation" className="overflow-y-auto" title={t("duplicate_event_type")}>
|
||||
<Form
|
||||
form={form}
|
||||
handleSubmit={(values) => {
|
||||
@@ -161,7 +161,7 @@ const DuplicateDialog = () => {
|
||||
</div>
|
||||
<DialogFooter showDivider className="mt-10">
|
||||
<DialogClose />
|
||||
<Button type="submit" loading={duplicateMutation.isPending}>
|
||||
<Button data-testid="continue" type="submit" loading={duplicateMutation.isPending}>
|
||||
{t("continue")}
|
||||
</Button>
|
||||
</DialogFooter>
|
||||
|
||||
Reference in new issue
Block a user