Skip to content
Snippets Groups Projects
Commit 169fab7b authored by Maximilian Giller's avatar Maximilian Giller
Browse files

Fixed jQuery exception when loading graph

parent 53393ea8
No related branches found
No related tags found
1 merge request!2Implemented editor in the react framework
Pipeline #56552 failed
div#ks-editor #sidepanel { div#ks-editor #sidepanel {
resize: horizontal; resize: horizontal;
overflow: auto; overflow: auto;
min-width: 50px; min-width: 250px;
max-width: 40%; max-width: 40%;
height: inherit; height: inherit;
margin: 0.3rem; margin: 0.3rem;
padding: 0.25rem; padding: 0.25rem;
background-color: white;
border: 1px lightgrey solid; border: 1px lightgrey solid;
border-radius: 5px; border-radius: 5px;
......
...@@ -30,6 +30,8 @@ export class Editor extends React.PureComponent< ...@@ -30,6 +30,8 @@ export class Editor extends React.PureComponent<
constructor(props: InferType<typeof Editor.propTypes>) { constructor(props: InferType<typeof Editor.propTypes>) {
super(props); super(props);
this.loadGraph = this.loadGraph.bind(this);
// Set as new state // Set as new state
this.state = { this.state = {
state: undefined, state: undefined,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment