feat(web): add import flow functionality

This commit is contained in:
Ali BARIN
2025-01-20 12:27:09 +00:00
committed by Faruk AYDIN
parent 48e9541af5
commit 5695609180
9 changed files with 369 additions and 90 deletions

View File

@@ -38,7 +38,9 @@ function Routes() {
const { isAuthenticated } = useAuthentication();
const config = configData?.data;
const installed = isSuccess ? automatischInfo.data.installationCompleted : true;
const installed = isSuccess
? automatischInfo.data.installationCompleted
: true;
const navigate = useNavigate();
useEffect(() => {
@@ -68,7 +70,7 @@ function Routes() {
/>
<Route
path={URLS.FLOWS}
path={`${URLS.FLOWS}/*`}
element={
<Layout>
<Flows />
@@ -76,15 +78,6 @@ function Routes() {
}
/>
<Route
path={URLS.FLOW_PATTERN}
element={
<Layout>
<Flow />
</Layout>
}
/>
<Route
path={`${URLS.APPS}/*`}
element={
@@ -186,6 +179,7 @@ function Routes() {
<Route path={URLS.ADMIN_SETTINGS} element={<AdminSettingsLayout />}>
{adminSettingsRoutes}
</Route>
<Route path="*" element={<NoResultFound />} />
</ReactRouterRoutes>
);