Browse Source

fix: prompt suggestions settings

Timothy Jaeryang Baek 2 months ago
parent
commit
2ee09d9f7d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/lib/components/admin/Settings/Interface.svelte

+ 1 - 1
src/lib/components/admin/Settings/Interface.svelte

@@ -51,7 +51,7 @@
 	onMount(async () => {
 		taskConfig = await getTaskConfig(localStorage.token);
 
-		promptSuggestions = $config?.default_prompt_suggestions;
+		promptSuggestions = $config?.default_prompt_suggestions ?? [];
 		banners = await getBanners(localStorage.token);
 	});