Browse Source

Merge pull request #361 from ollama-webui/fix

fix: await content load
Timothy Jaeryang Baek 1 year ago
parent
commit
47803fbeb2
1 changed files with 1 additions and 0 deletions
  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);
 			console.log(prompt);
 
 
 			title = prompt.title;
 			title = prompt.title;
+			await tick();
 			content = prompt.content;
 			content = prompt.content;
 			command = prompt.command;
 			command = prompt.command;
 		});
 		});