diff --git a/apps/desktop/src/components/common/QueryErrorActions.vue b/apps/desktop/src/components/common/QueryErrorActions.vue index 924621594c..81cdb1c91a 100644 --- a/apps/desktop/src/components/common/QueryErrorActions.vue +++ b/apps/desktop/src/components/common/QueryErrorActions.vue @@ -3,7 +3,7 @@ import { Bot, Wrench } from "@lucide/vue"; import { useI18n } from "vue-i18n"; import { Button } from "@/components/ui/button"; import type { BackendError } from "@/lib/backend/errorUtils"; -import { isQueryTimeoutErrorMessage } from "@/lib/sql/queryError"; +import { isConnectionTimeoutErrorMessage, isQueryTimeoutErrorMessage } from "@/lib/sql/queryError"; const props = defineProps<{ errorMessage: string; @@ -12,6 +12,7 @@ const props = defineProps<{ }>(); const emit = defineEmits<{ + changeConnectionTimeout: []; changeQueryTimeout: []; fixWithAi: [errorMessage: string]; }>(); @@ -20,6 +21,10 @@ const { t } = useI18n();