Skip to content

TagSpaces is an offline, open source, document manager with tagging support

chore: showing only the current folder in mobile mode

Ilian Sapundshiev0cc0d5bb7f65
diff --git a/src/renderer/components/PathBreadcrumbs.tsx b/src/renderer/components/PathBreadcrumbs.tsx
index 2bafb71a2..3934c546a 100644
--- a/src/renderer/components/PathBreadcrumbs.tsx
+++ b/src/renderer/components/PathBreadcrumbs.tsx
@@ -158,7 +158,8 @@ function PathBreadcrumbs(props: Props) {
function getBreadcrumbs() {
let breadcrumbs = [];
- if (pathParts.length > 0) {
+ // In mobile mode show only the current folder — skip the parent-path chips.
+ if (isDesktopMode && pathParts.length > 0) {
breadcrumbs = pathParts.map((pathPart, index) => {
const folderName = extractShortDirectoryName(
pathPart,