Skip to content

Commit 4a3f657

Browse files
fixed type error
1 parent b316287 commit 4a3f657

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

frontend/kubecloud-v2/components/MarkdownEditor.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@
8787
</v-card>
8888

8989
<v-dialog :model-value="isRevealed" max-width="500" scrollable @update:model-value="cancel()">
90-
<v-form @submit.prevent="confirm($event.target)">
90+
<v-form @submit.prevent="confirm($event.target as HTMLFormElement)">
9191
<v-card :style="{ padding: '0 !important' }">
9292
<v-card-title class="px-6 py-4">
9393
<div class="d-flex align-center justify-space-between">
@@ -132,7 +132,7 @@ const text = ref("")
132132
133133
let quill: Quill | null = null
134134
135-
const { isRevealed, reveal, cancel, confirm } = useDialog<HTMLFormElement>()
135+
const { isRevealed, reveal, cancel, confirm } = useDialog<undefined, HTMLFormElement>()
136136
const formats = markRaw([
137137
{ format: "bold", icon: "format-bold" },
138138
{ format: "italic", icon: "format-italic" },

0 commit comments

Comments
 (0)