feat(web): add import flow functionality
This commit is contained in:
@@ -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>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user