+ {primaryLocalRootPath ? (
<>
- {filesystemSettings.localRootPath.split("/").at(-1) ||
- filesystemSettings.localRootPath}
+ {getFolderDisplayName(primaryLocalRootPath)}
+ {extraLocalRootCount > 0 && (
+
+
+
+
+
+
+ {localRootPaths.map((rootPath) => (
+
+
+
+ {getFolderDisplayName(rootPath)}
+
+
+
+ ))}
+
+
+
+
+
+
+ )}
@@ -909,9 +1001,9 @@ const Composer: FC = () => {
Local mode can read and edit files inside the folders you select. Continue only if
you trust this workspace and its contents.
- {(pendingLocalPath || filesystemSettings?.localRootPath) && (
+ {(pendingLocalPath || primaryLocalRootPath) && (
- Folder path: {pendingLocalPath || filesystemSettings?.localRootPath}
+ Folder path: {pendingLocalPath || primaryLocalRootPath}
)}