Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit95361a2

Browse files
committed
Remove folder of route and its dependencies.
1 parent65a2861 commit95361a2

File tree

3 files changed

+1
-8
lines changed

3 files changed

+1
-8
lines changed

‎viewer/packages/lowcoder/src/app.tsx‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@ import {
1010
DATASOURCE_CREATE_URL,
1111
DATASOURCE_EDIT_URL,
1212
DATASOURCE_URL,
13-
FOLDER_URL,
14-
FOLDERS_URL,
1513
IMPORT_APP_FROM_TEMPLATE_URL,
1614
INVITE_LANDING_URL,
1715
isAuthUnRequired,

‎viewer/packages/lowcoder/src/constants/routesURL.ts‎

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,6 @@ export const DATASOURCE_URL = `/datasource`;
2525
exportconstDATASOURCE_CREATE_URL=`${DATASOURCE_URL}/new/:datasourceType`;
2626
exportconstDATASOURCE_EDIT_URL=`${DATASOURCE_URL}/:datasourceId`;
2727
exportconstQUERY_LIBRARY_URL=`/query-library`;
28-
exportconstFOLDER_URL_PREFIX=`/folder`;
29-
exportconstFOLDER_URL=`${FOLDER_URL_PREFIX}/:folderId`;
30-
exportconstFOLDERS_URL=`/folders`;
3128
exportconstIMPORT_APP_FROM_TEMPLATE_URL=`${ALL_APPLICATIONS_URL}/template-import/:templateId`;
3229
exportconstAPP_EDITOR_URL=`${ALL_APPLICATIONS_URL}/:applicationId/:viewMode/:appPageId?`;
3330

@@ -63,7 +60,6 @@ export const buildDatasourceCreateUrl = (datasourceType: DatasourceType) =>
6360
`${DATASOURCE_URL}/new/${datasourceType}`;
6461
exportconstbuildDatasourceEditUrl=(datasourceId:string)=>`${DATASOURCE_URL}/${datasourceId}`;
6562

66-
exportconstbuildFolderUrl=(folderId:string)=>`${FOLDER_URL_PREFIX}/${folderId}`;
6763

6864
exportconstbuildAppRouteWithState=(
6965
appId:string,

‎viewer/packages/lowcoder/src/util/homeResUtils.tsx‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import {
77
NavDocIcon,
88
}from"lowcoder-design";
99
import{HomeResTypeEnum}from"../types/homeRes";
10-
import{APPLICATION_VIEW_URL,buildFolderUrl}from"../constants/routesURL";
10+
import{APPLICATION_VIEW_URL}from"../constants/routesURL";
1111
importhistoryfrom"./history";
1212
import{trans}from"../i18n";
1313
import{FunctionComponent}from"react";
@@ -59,4 +59,3 @@ export const handleAppEditClick = (e: any, id: string): void => {
5959

6060
exportconsthandleAppViewClick=(id:string)=>window.open(APPLICATION_VIEW_URL(id,"view"),'_blank');
6161

62-
exportconsthandleFolderViewClick=(id:string)=>history.push(buildFolderUrl(id));

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp