Skip to content

Commit d9bc2ad

Browse files
committed
chore: update @nextcloud/paths to align with @nextcloud/files
Signed-off-by: Ferdinand Thiessen <[email protected]>
1 parent 814d1ac commit d9bc2ad

File tree

3 files changed

+16
-15
lines changed

3 files changed

+16
-15
lines changed

apps/files_trashbin/src/files_views/columns.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ function parseOriginalLocation(node: Node): string {
9797
}
9898

9999
const dir = dirname(path)
100-
if (dir === path) { // Node is in root folder
100+
if (dir === path || dir === '.') { // Node is in root folder
101101
return t('files_trashbin', 'All files')
102102
}
103103

package-lock.json

Lines changed: 14 additions & 13 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@
6363
"@nextcloud/logger": "^3.0.2",
6464
"@nextcloud/moment": "^1.3.5",
6565
"@nextcloud/password-confirmation": "^5.3.2",
66-
"@nextcloud/paths": "^2.4.0",
66+
"@nextcloud/paths": "^3.0.0",
6767
"@nextcloud/router": "^3.1.0",
6868
"@nextcloud/sharing": "^0.3.0",
6969
"@nextcloud/upload": "^1.11.0",

0 commit comments

Comments
 (0)