Fix border color in parameterComponent
This commit is contained in:
parent
1510f55efe
commit
de1e22001d
1 changed files with 2 additions and 3 deletions
|
|
@ -88,7 +88,6 @@ 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);
|
||||||
|
|
@ -359,7 +358,7 @@ export default function ParameterComponent({
|
||||||
!showNode ? "mt-0" : ""
|
!showNode ? "mt-0" : ""
|
||||||
)}
|
)}
|
||||||
style={{
|
style={{
|
||||||
borderColor: color??nodeColors.unknown,
|
borderColor: color ?? nodeColors.unknown,
|
||||||
}}
|
}}
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
setFilterEdge(groupedEdge.current);
|
setFilterEdge(groupedEdge.current);
|
||||||
|
|
@ -454,7 +453,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?? nodeColors.unknown,
|
borderColor: color ?? nodeColors.unknown,
|
||||||
}}
|
}}
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
setFilterEdge(groupedEdge.current);
|
setFilterEdge(groupedEdge.current);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue