Skip to content

Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS

fix: maintain image type in PinToMoodBoardMenu payload

[._.]/ Adam Eivy63dee6a7af3a
diff --git a/client/src/components/media/PinToMoodBoardMenu.jsx b/client/src/components/media/PinToMoodBoardMenu.jsx
index d7d12a594c..484951ab70 100644
--- a/client/src/components/media/PinToMoodBoardMenu.jsx
+++ b/client/src/components/media/PinToMoodBoardMenu.jsx
@@ -81,8 +81,7 @@ export default function PinToMoodBoardMenu({ item, size = 'sm' }) {
// toggle + create-and-pin paths can't drift. Null when there's nothing to pin.
const pinPayload = useMemo(() => {
if (!mediaKey && !thumbUrl) return null;
- const isVideo = mediaKey?.startsWith('video:');
- const payload = { type: isVideo ? 'video' : 'image' };
+ const payload = { type: 'image' };
if (mediaKey) payload.mediaKey = mediaKey;
if (thumbUrl) payload.imageUrl = thumbUrl;
const promptText = typeof item?.prompt === 'string' && item.prompt !== '(no prompt)' ? item.prompt.trim() : '';