-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: use filename to find current index
The viewer component is usually used with a folder and the basename unique. However in photos, the fileList contains objects from multiple folders and the basename is not always unique. How to reproduce: - Create folder A and B - Upload an image to folder A and name it "Test" - Upload another image to folder B and also name it "Test" - Open photos - Click on the image from folder B - The image from folder A is shown To find the correct "currentIndex" we need filename (including the path). Signed-off-by: Daniel Kesselberg <[email protected]> Signed-off-by: nextcloud-command <[email protected]>
- Loading branch information
1 parent
27cb725
commit 403853d
Showing
9 changed files
with
17 additions
and
16 deletions.
There are no files selected for viewing
1 change: 1 addition & 0 deletions
1
..._xml_base64_PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCI-65943f.js
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
4 changes: 2 additions & 2 deletions
4
js/viewer-vendors-node_modules_nextcloud_dialogs_dist_chunks_FilePicker-c55dc760_mjs.js
Large diffs are not rendered by default.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
js/viewer-vendors-node_modules_nextcloud_dialogs_dist_chunks_FilePicker-c55dc760_mjs.js.map
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters