Timothy Jaeryang Baek před 4 měsíci
rodič
revize
65d997a6c5

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

@@ -45,6 +45,7 @@
 	const updateInterfaceHandler = async () => {
 		taskConfig = await updateTaskConfig(localStorage.token, taskConfig);
 
+		promptSuggestions = promptSuggestions.filter((p) => p.content !== '');
 		promptSuggestions = await setDefaultPromptSuggestions(localStorage.token, promptSuggestions);
 		await updateBanners();