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

Commit0fd55e2

Browse files
committed
add label to indicate if prompt is defined by preset
1 parentb3916e2 commit0fd55e2

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

‎site/src/pages/TasksPage/TasksPage.tsx‎

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -333,9 +333,14 @@ const TaskForm: FC<TaskFormProps> = ({ templates, onSuccess }) => {
333333
className="border border-border border-solid rounded-lg p-4"
334334
disabled={createTaskMutation.isPending}
335335
>
336-
<labelhtmlFor="prompt"className="sr-only">
337-
Prompt
338-
</label>
336+
{isPromptReadOnly&&(
337+
<label
338+
htmlFor="prompt"
339+
className={"text-xs font-medium text-content-primary mb-2 block"}
340+
>
341+
Prompt defined by preset
342+
</label>
343+
)}
339344
<TextareaAutosize
340345
required
341346
id="prompt"

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp