Skip to content

Commit 10b2e8e

Browse files
committed
fix: lazy-mount ToolRequestForm with v-if and fix empty urlError causing false alert class
1 parent b227a36 commit 10b2e8e

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

client/src/components/Panels/ToolBox.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -500,7 +500,7 @@ function onLabelToggle(labelId: string) {
500500
</section>
501501
</div>
502502

503-
<ToolRequestForm :show.sync="showToolRequestForm" />
503+
<ToolRequestForm v-if="showToolRequestForm" :show.sync="showToolRequestForm" />
504504

505505
<div class="unified-panel-body">
506506
<div class="toolMenuContainer">

client/src/components/Tool/ToolRequestForm.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ async function submit() {
150150
type="text"
151151
title="Homepage / Repository URL"
152152
help="e.g. https://github.com/..."
153-
:error="urlError" />
153+
:error="urlError || undefined" />
154154

155155
<FormElement
156156
id="tool-request-description"

0 commit comments

Comments
 (0)