mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Fixed Security Hotspot reported by SonarQube.
This commit is contained in:
@@ -66,7 +66,7 @@ PolyLine.propTypes = {
|
||||
function Multitext({currentXpos, currentYpos, label, maxWidth}) {
|
||||
const theme = useTheme();
|
||||
let abc = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ';
|
||||
var xmlns = 'http://www.w3.org/2000/svg';
|
||||
var xmlns = 'https://www.w3.org/2000/svg';
|
||||
var svgElem = document.createElementNS(xmlns, 'svg');
|
||||
svgElem.setAttributeNS(xmlns, 'height', '100%');
|
||||
svgElem.setAttributeNS(xmlns, 'width', '100%');
|
||||
@@ -295,7 +295,7 @@ function PlanSVG({planData, zoomFactor, fitZoomFactor, ...props}) {
|
||||
}, [planData.width]);
|
||||
|
||||
return (
|
||||
<svg height={planData.height*zoomFactor} width={planData.width*zoomFactor} version="1.1" xmlns="http://www.w3.org/2000/svg">
|
||||
<svg height={planData.height*zoomFactor} width={planData.width*zoomFactor} version="1.1" xmlns="https://www.w3.org/2000/svg">
|
||||
<defs>
|
||||
{Object.keys(props.ctx.arrows).map((arr_id, i)=>{
|
||||
let arrowPoints = [
|
||||
|
||||
Reference in New Issue
Block a user