Skip to content

Commit 9a7ee33

Browse files
Update webview-ui/src/components/prompts/PromptsView.tsx
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
1 parent d57e64e commit 9a7ee33

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

webview-ui/src/components/prompts/PromptsView.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -567,7 +567,7 @@ const PromptsView = ({ onDone }: PromptsViewProps) => {
567567
value={(() => {
568568
const customMode = findModeBySlug(visualMode, customModes)
569569
const prompt = customModePrompts?.[visualMode] as PromptComponent
570-
return customMode?.roleDefinition ?? prompt?.roleDefinition ?? getRoleDefinition(mode)
570+
return customMode?.roleDefinition ?? prompt?.roleDefinition ?? getRoleDefinition(visualMode)
571571
})()}
572572
onChange={(e) => {
573573
const value =

0 commit comments

Comments
 (0)