소스 검색

Merge pull request #361 from ollama-webui/fix

fix: await content load
Timothy Jaeryang Baek 1 년 전
부모
커밋
47803fbeb2
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      src/routes/(app)/prompts/create/+page.svelte

+ 1 - 0
src/routes/(app)/prompts/create/+page.svelte

@@ -62,6 +62,7 @@
 			console.log(prompt);
 
 			title = prompt.title;
+			await tick();
 			content = prompt.content;
 			command = prompt.command;
 		});