Skip to content

Commit 4047ded

Browse files
committed
wip: tiny fixes
1 parent 2e9386f commit 4047ded

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

frontend/packages/common/RelationalPlanViewer.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -253,8 +253,8 @@ export const RelationalPlanViewer = ({height, width, input, onOperatorSelect, se
253253
return <g>
254254
<polyline key={`edge,${edge.id.v},${edge.id.w}`} points={points} fill={"none"}
255255
stroke={"white"} strokeWidth={estimatedStrokeWidth} strokeLinecap={"square"} strokeOpacity={0.5}></polyline>
256-
<polyline key={`edge2,${edge.id.v},${edge.id.w}`} points={points} fill={"none"}
257-
stroke={"blue"} strokeWidth={cardStrokeWidth} strokeLinecap={"square"} strokeOpacity={0.5}></polyline>
256+
{(edge.cardinality||edge.cardinality===0)&&<polyline key={`edge2,${edge.id.v},${edge.id.w}`} points={points} fill={"none"}
257+
stroke={"blue"} strokeWidth={cardStrokeWidth} strokeLinecap={"square"} strokeOpacity={0.5}></polyline>}
258258
<text x={edge.points[1].x + 20} y={edge.points[1].y} stroke={"black"}
259259
strokeWidth={"0.2"} fontSize={10}>{edge.label}</text>
260260
</g>

frontend/packages/insights/src/DebuggingView.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ import {
2525
import { Prism as SyntaxHighlighter } from 'react-syntax-highlighter';
2626
import { dracula } from 'react-syntax-highlighter/dist/esm/styles/prism';
2727
export const DebuggingView = ({data, onClose}) => {
28-
const [viewMode, setViewMode] = useState("Plan")
28+
const [viewMode, setViewMode] = useState("SideBySide")
2929
const [selectedOp, setSelectedOp] = useState(null)
3030
const [selectedLayer, setSelectedLayer] = useState(null)
3131
const [leftDiffIndex, setLeftDiffIndex] = useState(null);

0 commit comments

Comments
 (0)