Skip to content

Commit cfbb12d

Browse files
committed
Do not disable generate code button
Signed-off-by: Brianna Major <brianna.major@kitware.com>
1 parent f5a0e5d commit cfbb12d

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

src/vtk_prompt/ui/layout/content.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -82,10 +82,6 @@ def build_content(layout: Any, app: Any) -> None:
8282
placeholder=("e.g., Create a red sphere with lighting"),
8383
hide_details=True,
8484
no_resize=True,
85-
disabled=(
86-
"is_viewing_history",
87-
False,
88-
),
8985
)
9086
with vuetify.VBtn(
9187
color=(
@@ -119,7 +115,6 @@ def build_content(layout: Any, app: Any) -> None:
119115
loading=("trame__busy", False),
120116
click=app.ctrl.generate_code,
121117
classes="my-2",
122-
disabled="is_viewing_history || !query_text.trim()",
123118
v_show="api_token.trim()",
124119
)
125120
vuetify.VBtn(

0 commit comments

Comments
 (0)