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
..
2024-02-14 08:57:02 -06:00
2023-11-17 22:13:36 -06:00
2022-07-15 23:18:17 -05:00
2022-07-15 23:18:17 -05:00
2024-01-12 07:36:27 -05:00
2024-03-08 23:44:13 +00:00
2024-03-08 23:44:13 +00:00