1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/web/ synced 2025-03-09 00:00:01 +01:00

hand over session token to topology widget #217

This commit is contained in:
Sonja Happ 2020-05-14 13:08:58 +02:00
parent 445ab5e95b
commit 753e06b120

View file

@ -154,7 +154,7 @@ class Widget extends React.Component {
} else if (widget.type === 'HTML') {
return <WidgetHTML widget={widget} editing={this.props.editing} />
} else if (widget.type === 'Topology') {
return <WidgetTopology widget={widget} files={this.state.files} />
return <WidgetTopology widget={widget} files={this.state.files} token={this.state.sessionToken} />
}
return null;