Skip to content

Commit

Permalink
Fix/manual review enable etl (#482)
Browse files Browse the repository at this point in the history
* added etl condition fix for manual review

* fixed issue in handleException import error

* removed important tag that made for temporay fix
  • Loading branch information
vishnuszipstack authored Jul 12, 2024
1 parent e888153 commit d0b9edb
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions frontend/src/components/agency/actions/Actions.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -77,10 +77,10 @@ function Actions({ statusBarMsg, initializeWfComp, stepLoader }) {
// Enable Deploy as ETL Pipeline only when
// destination connection_type is DATABASE and Source & Destination are Configured
setCanAddETLPipeline(
(destination?.connection_type === "DATABASE" ||
destination.connection_type === "MANUALREVIEW") &&
source?.connector_instance &&
destination.connector_instance
source?.connector_instance &&
((destination?.connection_type === "DATABASE" &&
destination.connector_instance) ||
destination.connection_type === "MANUALREVIEW")
);
}, [source, destination]);
useEffect(() => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ function OutputForDocModal({
const axiosPrivate = useAxiosPrivate();
const navigate = useNavigate();
const { setAlertDetails } = useAlertStore();
const { handleException } = useExceptionHandler();
const handleException = useExceptionHandler();
const { tokenUsage } = useTokenUsageStore();
const [selectedProfile, setSelectedProfile] = useState(defaultLlmProfile);

Expand Down
2 changes: 1 addition & 1 deletion frontend/src/components/custom-tools/tool-ide/ToolIde.css
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@

.tool-ide-prompts {
padding: 12px 6px 1px 12px;
height: 100% !important;
height: 100%;
}

.tool-ide-pdf {
Expand Down

0 comments on commit d0b9edb

Please sign in to comment.