fix: prevent connection dialog from closing on outside click

This commit is contained in:
t8y2 committed 2026-05-28 11:08:26 +08:00
1 parent b3ddf9716f
commit ed10edb5f7
1 file changed
+1 -1
@@ -1320,7 +1320,7 @@ function openExternalUrl(url: string) {
<template>
<Dialog v-model:open="open">
<DialogContent :class="dialogStep === 'select' ? 'sm:max-w-[760px]' : 'sm:max-w-[560px]'">
<DialogContent :class="dialogStep === 'select' ? 'sm:max-w-[760px]' : 'sm:max-w-[560px]'" @interact-outside.prevent>
<DialogHeader>
<DialogTitle>{{ editingId ? t("connection.editTitle") : t("connection.title") }}</DialogTitle>
</DialogHeader>