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: use filename to find current index #2112

Merged
merged 2 commits into from
Jan 9, 2024

Commits on Jan 5, 2024

  1. 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 <mail@danielkesselberg.de>
    kesselb committed Jan 5, 2024
    Configuration menu
    Copy the full SHA
    274818d View commit details
    Browse the repository at this point in the history

Commits on Jan 9, 2024

  1. chore(assets): Recompile assets

    Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
    nextcloud-command committed Jan 9, 2024
    Configuration menu
    Copy the full SHA
    20d71c3 View commit details
    Browse the repository at this point in the history