Add console.log for title and color in ParameterComponent
This commit is contained in:
parent
5e55f33c6f
commit
f65b7680ba
1 changed files with 3 additions and 2 deletions
|
|
@ -88,6 +88,7 @@ export default function ParameterComponent({
|
||||||
const myData = useTypesStore((state) => state.data);
|
const myData = useTypesStore((state) => state.data);
|
||||||
|
|
||||||
const takeSnapshot = useFlowsManagerStore((state) => state.takeSnapshot);
|
const takeSnapshot = useFlowsManagerStore((state) => state.takeSnapshot);
|
||||||
|
console.log(title, color);
|
||||||
|
|
||||||
const handleRefreshButtonPress = async (name, data) => {
|
const handleRefreshButtonPress = async (name, data) => {
|
||||||
setIsLoading(true);
|
setIsLoading(true);
|
||||||
|
|
@ -358,7 +359,7 @@ export default function ParameterComponent({
|
||||||
!showNode ? "mt-0" : ""
|
!showNode ? "mt-0" : ""
|
||||||
)}
|
)}
|
||||||
style={{
|
style={{
|
||||||
borderColor: color,
|
borderColor: color??nodeColors.unknown,
|
||||||
}}
|
}}
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
setFilterEdge(groupedEdge.current);
|
setFilterEdge(groupedEdge.current);
|
||||||
|
|
@ -451,7 +452,7 @@ export default function ParameterComponent({
|
||||||
"h-3 w-3 rounded-full border-2 bg-background"
|
"h-3 w-3 rounded-full border-2 bg-background"
|
||||||
)}
|
)}
|
||||||
style={{
|
style={{
|
||||||
borderColor: color,
|
borderColor: color?? nodeColors.unknown,
|
||||||
}}
|
}}
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
setFilterEdge(groupedEdge.current);
|
setFilterEdge(groupedEdge.current);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue