mirror of
https://gitea.toothfairyai.com/ToothFairyAI/tf_code.git
synced 2026-04-25 10:04:40 +00:00
This commit is contained in:
@@ -1042,6 +1042,10 @@ export function Session() {
|
|||||||
ref={(r) => {
|
ref={(r) => {
|
||||||
prompt = r
|
prompt = r
|
||||||
promptRef.set(r)
|
promptRef.set(r)
|
||||||
|
// Apply initial prompt when prompt component mounts (e.g., from fork)
|
||||||
|
if (route.initialPrompt) {
|
||||||
|
r.set(route.initialPrompt)
|
||||||
|
}
|
||||||
}}
|
}}
|
||||||
disabled={permissions().length > 0}
|
disabled={permissions().length > 0}
|
||||||
onSubmit={() => {
|
onSubmit={() => {
|
||||||
|
|||||||
Reference in New Issue
Block a user