-
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]>
- Loading branch information
Showing
8 changed files
with
16 additions
and
16 deletions.
There are no files selected for viewing
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