TagSpaces is an offline, open source, document manager with tagging support
Actions in the search do not have text
sytolk2fdf8af3da4f
diff --git a/src/renderer/services/utils-io.ts b/src/renderer/services/utils-io.tsindex 67f2427f7..32aaea2f2 100644--- a/src/renderer/services/utils-io.ts+++ b/src/renderer/services/utils-io.ts@@ -1057,7 +1057,7 @@ export function selectDirectoryDialog(): Promise<any> {}export function removePrefix(str, prefix) {- if (str.startsWith(prefix)) {+ if (str && prefix && str.length > prefix.length && str.startsWith(prefix)) {return str.slice(prefix.length);}return str.trim();