Kaynağa Gözat

Merge pull request #361 from ollama-webui/fix

fix: await content load
Timothy Jaeryang Baek 1 yıl önce
ebeveyn
işleme
47803fbeb2
1 değiştirilmiş dosya ile 1 ekleme ve 0 silme
  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;
 		});