Open-source manufacturing ERP, MES and QMS. Quoting, MRP, inventory, shop floor, quality and lot/serial traceability on one Postgres schema, with a REST API and MCP server. Self-host or use Carbon Cloud.
TypeScript ai-agentsbill-of-materialserpinventory-managementleanmanufacturingmanufacturing-execution-systemmcp-servermesmrpopen-source-erppostgresqlproduction-planningqmsquality-management-systemreact-routerself-hostedsupabasetraceabilitytypescript
style: remove animated placeholder when we have messages
Brad Barbin29d35bea4337
diff --git a/apps/erp/app/components/Chat/ChatInput.tsx b/apps/erp/app/components/Chat/ChatInput.tsxindex 1a90f378d1..ce5cd0df43 100644--- a/apps/erp/app/components/Chat/ChatInput.tsx+++ b/apps/erp/app/components/Chat/ChatInput.tsx@@ -75,7 +75,10 @@ export const ChatInput = forwardRef<RecordButtonRef, ChatInputProps>(// Animated placeholder effectuseEffect(() => {- if (isWebSearch || isRecording) return;+ if (isWebSearch || isRecording || hasMessages) {+ setCurrentPlaceholder("Ask anything");+ return;+ }const currentText = placeholderTexts[currentTextIndex];@@ -108,6 +111,7 @@ export const ChatInput = forwardRef<RecordButtonRef, ChatInputProps>(isTyping,isWebSearch,isRecording,+ hasMessages,]);const handleSubmit = (message: ChatInputMessage) => {