Skip to content

Commit 9b5dd44

Browse files
committed
Fixing unexpected close dialogue on Dynamic Entities
1 parent dbfa19a commit 9b5dd44

2 files changed

Lines changed: 0 additions & 6 deletions

File tree

apps/api-manager/src/routes/(protected)/dynamic-entities/personal/[entityName]/+page.svelte

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -913,7 +913,6 @@
913913
{#if showCreateModal}
914914
<div
915915
class="fixed inset-0 z-50 flex items-center justify-center bg-black bg-opacity-50 p-4"
916-
onclick={(e) => e.target === e.currentTarget && closeModals()}
917916
>
918917
<div
919918
class="max-h-[90vh] w-full max-w-2xl overflow-y-auto rounded-lg bg-white dark:bg-gray-800"
@@ -1046,7 +1045,6 @@
10461045
{#if showEditModal && selectedRecord}
10471046
<div
10481047
class="fixed inset-0 z-50 flex items-center justify-center bg-black bg-opacity-50 p-4"
1049-
onclick={(e) => e.target === e.currentTarget && closeModals()}
10501048
>
10511049
<div
10521050
class="max-h-[90vh] w-full max-w-2xl overflow-y-auto rounded-lg bg-white dark:bg-gray-800"
@@ -1179,7 +1177,6 @@
11791177
{#if showViewModal && selectedRecord}
11801178
<div
11811179
class="fixed inset-0 z-50 flex items-center justify-center bg-black bg-opacity-50 p-4"
1182-
onclick={(e) => e.target === e.currentTarget && closeModals()}
11831180
>
11841181
<div
11851182
class="max-h-[90vh] w-full max-w-2xl overflow-y-auto rounded-lg bg-white dark:bg-gray-800"

apps/api-manager/src/routes/(protected)/dynamic-entities/system/[id]/crud/+page.svelte

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1061,7 +1061,6 @@
10611061
{#if showCreateModal}
10621062
<div
10631063
class="fixed inset-0 z-50 flex items-center justify-center bg-black bg-opacity-50 p-4"
1064-
onclick={(e) => e.target === e.currentTarget && closeModals()}
10651064
>
10661065
<div
10671066
class="max-h-[90vh] w-full max-w-2xl overflow-y-auto rounded-lg bg-white dark:bg-gray-800"
@@ -1204,7 +1203,6 @@
12041203
{#if showEditModal && selectedRecord}
12051204
<div
12061205
class="fixed inset-0 z-50 flex items-center justify-center bg-black bg-opacity-50 p-4"
1207-
onclick={(e) => e.target === e.currentTarget && closeModals()}
12081206
>
12091207
<div
12101208
class="max-h-[90vh] w-full max-w-2xl overflow-y-auto rounded-lg bg-white dark:bg-gray-800"
@@ -1347,7 +1345,6 @@
13471345
{#if showViewModal && selectedRecord}
13481346
<div
13491347
class="fixed inset-0 z-50 flex items-center justify-center bg-black bg-opacity-50 p-4"
1350-
onclick={(e) => e.target === e.currentTarget && closeModals()}
13511348
>
13521349
<div
13531350
class="max-h-[90vh] w-full max-w-2xl overflow-y-auto rounded-lg bg-white dark:bg-gray-800"

0 commit comments

Comments
 (0)