Преглед изворни кода

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;
 		});