diff --git a/core/src/main/java/io/xpipe/core/store/FilePath.java b/core/src/main/java/io/xpipe/core/store/FilePath.java index a2680c097..dc0ada8a3 100644 --- a/core/src/main/java/io/xpipe/core/store/FilePath.java +++ b/core/src/main/java/io/xpipe/core/store/FilePath.java @@ -174,7 +174,7 @@ public final class FilePath { } if (split().size() == 1) { - return value.startsWith("/") && !value.equals("/") ? FilePath.of("/") : null; + return value.startsWith("/") && !value.equals("/") ? FilePath.of("/") : this; } return FilePath.of(value.substring(0, value.length() - getFileName().length() - 1)); diff --git a/lang/strings/translations_en.properties b/lang/strings/translations_en.properties index 32d1efa74..f0a5c0408 100644 --- a/lang/strings/translations_en.properties +++ b/lang/strings/translations_en.properties @@ -1353,3 +1353,5 @@ disableApiHttpsTlsCheckDescription=If your organization is decrypting your HTTPS connectionsSelected=$NUMBER$ connections selected #force addConnections=Add connections +browseDirectory=Browse directory +openTerminal=Open terminal