-
Notifications
You must be signed in to change notification settings - Fork 18
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
Disable previous and next image on recommendations #325
Comments
I'm not sure how we can solve this, as the viewer will just fetch the file listing of the directory that the file is in and use the next/previous image from there. @skjnldsv Is there a way we can block the next/previous navigation when calling |
Ah I guess we could just pass the list of only recommended files to it:
|
Yes, if you pass the array containing the single fileInfo, it won't display any other thing 👍 |
I've been thinking about adding options for viewer, such as modal-sizes (normal/full) from models, or booleans toggle on viewer.open such as disable fetching etc etc. |
I'd say just passing the filelist array is the way to go then. I don't see a reason for another flag yet. Let me move this over to recommendations. |
The previous and next image in the https://github.com/nextcloud/recommendations and recommendation Dashboard are most of the time wrong
The text was updated successfully, but these errors were encountered: