diff --git a/frontend/app/components/Dashboard/components/DashboardList/NewDashModal/CreateCard.tsx b/frontend/app/components/Dashboard/components/DashboardList/NewDashModal/CreateCard.tsx index c0caf656c..ef685eceb 100644 --- a/frontend/app/components/Dashboard/components/DashboardList/NewDashModal/CreateCard.tsx +++ b/frontend/app/components/Dashboard/components/DashboardList/NewDashModal/CreateCard.tsx @@ -22,6 +22,7 @@ interface Props { // cardType: string, onBack?: () => void onAdded?: () => void + extra?: React.ReactNode } function CreateCard(props: Props) { @@ -96,6 +97,7 @@ function CreateCard(props: Props) { + {props.extra} {/**/} diff --git a/frontend/app/components/Dashboard/components/DashboardView/AiQuery.tsx b/frontend/app/components/Dashboard/components/DashboardView/AiQuery.tsx index 2d3576cfc..58f35eac5 100644 --- a/frontend/app/components/Dashboard/components/DashboardView/AiQuery.tsx +++ b/frontend/app/components/Dashboard/components/DashboardView/AiQuery.tsx @@ -39,10 +39,10 @@ const InputBox = observer(({ inModal }: { inModal?: boolean }) => { }; return ( <> -
- -
What would you like to visualize?
-
+ {!inModal ?
+ +
What would you like to visualize?
+
: null}
{ centered={true} >
- {aiFiltersStore.isLoading ? ( ) : ( - + } onAdded={onClose} /> )}