duh
This commit is contained in:
parent
536bcf1091
commit
6671a62c78
1 changed files with 1 additions and 1 deletions
|
@ -611,7 +611,7 @@ const isSyncedOrIgnoredPath = (path: string, watch: FolderWatch) =>
|
|||
|
||||
const collectionNameForPath = (path: string, watch: FolderWatch) =>
|
||||
watch.collectionMapping == "root"
|
||||
? dirname(watch.folderPath)
|
||||
? basename(watch.folderPath)
|
||||
: parentDirectoryName(path);
|
||||
|
||||
const parentDirectoryName = (path: string) => basename(dirname(path));
|
||||
|
|
Loading…
Add table
Reference in a new issue