From d4e6eb7686ab81e9206669a881328020c7d95f6a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=A0=D0=B0=D1=81=D1=83=D0=BB?= Date: Fri, 6 Dec 2024 13:26:24 +0300 Subject: [PATCH] feat: added image support --- src/components/App/ActionsToolbar/PlayerControl/index.tsx | 2 +- src/components/Universe/Graph/Cubes/Text/index.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/App/ActionsToolbar/PlayerControl/index.tsx b/src/components/App/ActionsToolbar/PlayerControl/index.tsx index a4e65546b..ec9de2600 100644 --- a/src/components/App/ActionsToolbar/PlayerControl/index.tsx +++ b/src/components/App/ActionsToolbar/PlayerControl/index.tsx @@ -54,7 +54,7 @@ export const PlayerControl = () => { const showPlayer = (sidebarIsOpen && selectedNode?.ref_id !== playingNode?.ref_id) || (playingNode && !sidebarIsOpen) - const isMindset = window.location?.hostname === 'graphmindset.sphinx.chat' || window.location.hostname === 'localhost' + const isMindset = window.location?.hostname === 'graphmindset.sphinx.chat' return miniPlayerIsVisible && playingNode && showPlayer && !isMindset ? ( diff --git a/src/components/Universe/Graph/Cubes/Text/index.tsx b/src/components/Universe/Graph/Cubes/Text/index.tsx index 31518e065..ce5743a77 100644 --- a/src/components/Universe/Graph/Cubes/Text/index.tsx +++ b/src/components/Universe/Graph/Cubes/Text/index.tsx @@ -166,7 +166,7 @@ export const TextNode = memo(({ node, hide, ignoreDistance }: Props) => { - {node.properties?.image_url && ['Person', 'Episode'].includes(node.node_type) && texture ? ( + {node.properties?.image_url && ['Person', 'Episode', 'Guest', 'Host'].includes(node.node_type) && texture ? (