From dd2ce4441d433de2cc79f031a3d8db31fc016cd9 Mon Sep 17 00:00:00 2001 From: Tharanidk Date: Wed, 26 Feb 2025 22:53:06 +0530 Subject: [PATCH] fix changes from review --- .../components/Apis/Create/CreateAPIWithAI/APICreateWithAI.jsx | 2 +- .../Apis/Create/CreateAPIWithAI/components/ApiChatExecute.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/portals/publisher/src/main/webapp/source/src/app/components/Apis/Create/CreateAPIWithAI/APICreateWithAI.jsx b/portals/publisher/src/main/webapp/source/src/app/components/Apis/Create/CreateAPIWithAI/APICreateWithAI.jsx index e899cdcd11b..e37b5f51c12 100644 --- a/portals/publisher/src/main/webapp/source/src/app/components/Apis/Create/CreateAPIWithAI/APICreateWithAI.jsx +++ b/portals/publisher/src/main/webapp/source/src/app/components/Apis/Create/CreateAPIWithAI/APICreateWithAI.jsx @@ -256,7 +256,7 @@ const ApiCreateWithAI = () => { break; default: content = 'Apologies for the inconvenience. It seems that something went wrong with the' - + ' API Design Assistant Assistant. Please try again.'; + + ' API Design Assistant. Please try again.'; break; } diff --git a/portals/publisher/src/main/webapp/source/src/app/components/Apis/Create/CreateAPIWithAI/components/ApiChatExecute.tsx b/portals/publisher/src/main/webapp/source/src/app/components/Apis/Create/CreateAPIWithAI/components/ApiChatExecute.tsx index 836c498b286..9697d58abf2 100644 --- a/portals/publisher/src/main/webapp/source/src/app/components/Apis/Create/CreateAPIWithAI/components/ApiChatExecute.tsx +++ b/portals/publisher/src/main/webapp/source/src/app/components/Apis/Create/CreateAPIWithAI/components/ApiChatExecute.tsx @@ -285,7 +285,7 @@ const ApiChatExecute: React.FC = ({ onKeyDown={handleKeyDown} testId='nl-query-input' multiline - disabled={(designAssistantEnabled && !aiAuthTokenProvided)||!designAssistantEnabled} + disabled={!aiAuthTokenProvided||!designAssistantEnabled} sx={{ '& .TextInput-textarea': { resize: 'none',