0
Fork 0
mirror of https://github.com/immich-app/immich.git synced 2025-03-11 02:23:09 -05:00
immich/web/src
DeclanE e5978981f3
Fix: Disable 'As profile picture' option for videos in context menu a… (#7830)
* Fix: Disable 'As profile picture' option for videos in context menu asset-viewer-nav-bar.svelte

This commit modifies the context menu behavior to disable the "As profile picture" option when interacting with video assets. Previously, the option was available for all asset types, including videos, which could lead to confusion when this displayed an error.

With this change, the "As profile picture" option is conditionally rendered based on the asset type. If the asset is a video, the option is not displayed in the context menu.

This adjustment enhances the web experience by preventing users from attempting to set a video as their profile picture, which is not supported by the system.

Fixes: #7724

* Switched to check if photo instead of video
2024-03-10 18:32:27 -04:00
..
lib Fix: Disable 'As profile picture' option for videos in context menu a… (#7830) 2024-03-10 18:32:27 -04:00
routes feat(server,web): add force delete to immediately remove user (#7681) 2024-03-08 17:49:39 -05:00
test-data feat(server,web): add force delete to immediately remove user (#7681) 2024-03-08 17:49:39 -05:00
app.css fix(web): prevent layout change from scrollbar in admin setings (#6482) 2024-01-19 03:30:48 +00:00
app.d.ts feat(web)!: SPA (#5069) 2023-11-17 22:13:36 -06:00
app.html feat(web): auto switch theme (#6176) 2024-01-07 00:15:25 +00:00
hooks.client.ts chore(web): cleanup promise handling (#7382) 2024-02-27 10:37:37 -06:00