Skip to content

Commit 98829e3

Browse files
committed
fix(transformPath): use fair relative path
1 parent 4ddfc9e commit 98829e3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/containers/Tenant/ObjectSummary/transformPath.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ export function transformPath(path: string, dbName: string): string {
99
return normalizedPath || '/';
1010
}
1111
if (normalizedPath === normalizedDbName) {
12-
return `/${normalizedPath}`;
12+
return '';
1313
}
1414

1515
let result = normalizedPath.slice(normalizedDbName.length);

src/containers/Tenant/utils/schemaActions.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ export const getActions =
204204
},
205205
],
206206
};
207-
const DB_SET: ActionsSet = [[copyItem, connectToDBItem], createEntitiesSet];
207+
const DB_SET: ActionsSet = [[connectToDBItem], createEntitiesSet];
208208

209209
const DIR_SET: ActionsSet = [[copyItem], createEntitiesSet];
210210

0 commit comments

Comments
 (0)