From be96d7ffbfa913fe9faa46005be81e27d846cfb4 Mon Sep 17 00:00:00 2001 From: frikky Date: Fri, 17 Mar 2023 00:43:49 +0100 Subject: [PATCH] Added image tagging back to org --- frontend/src/components/AppFramework.jsx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/frontend/src/components/AppFramework.jsx b/frontend/src/components/AppFramework.jsx index b59eed56..b479e9a8 100644 --- a/frontend/src/components/AppFramework.jsx +++ b/frontend/src/components/AppFramework.jsx @@ -1371,6 +1371,9 @@ const AppFramework = (props) => { const shiftmodifier = 3*scale //const svgSize = `${40*scale}px` //const svgSize = `${40}px` + + const foundMiddleImage = userdata !== undefined && userdata !== null && userdata.active_org !== undefined && userdata.active_org.image !== undefined && userdata.active_org.image !== null && userdata.active_org.image !== "" ? userdata.active_org.image : '/images/Shuffle_logo.png' + const fontSize = `${12*scale}px` const defaultSize = `${85*scale}px` @@ -1614,6 +1617,7 @@ const AppFramework = (props) => { isValid: true, errors: [], middle_node: true, + large_image: foundMiddleImage, }, renderedPosition: { x: baselocationX,