Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix location picker navigation to root #3756

Merged
merged 1 commit into from
Jul 9, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ export default {
return
}

this.$router.push({ name: 'files-list', params: { item: target || '/ ' } })
this.$router.push({ name: 'files-list', params: { item: target || '/' } })
},

async moveResources() {
Expand Down
6 changes: 6 additions & 0 deletions changelog/unreleased/location-picker-root-target
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Bugfix: Fix navigation to the root folder from location picker

The target location in the location picker was appending a whitespace when trying to go to root folder.
This resulted in an error when trying to load such folder. We've removed the whitespace to fix the navigation.

https://github.com/owncloud/phoenix/pull/3756