Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitd042510

Browse files
fix(site): disable task prompt submit button when prompt empty
1 parentf3d950d commitd042510

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎site/src/modules/tasks/TaskPrompt/TaskPrompt.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -368,7 +368,7 @@ const CreateTaskForm: FC<CreateTaskFormProps> = ({ templates, onSuccess }) => {
368368
<Button
369369
size="icon"
370370
type="submit"
371-
disabled={isMissingExternalAuth}
371+
disabled={prompt.length===0||isMissingExternalAuth}
372372
className="rounded-full disabled:bg-surface-invert-primary disabled:opacity-70"
373373
>
374374
<Spinner

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp