Skip to content
Snippets Groups Projects
Commit ae77bec0 authored by Maximilian Giller's avatar Maximilian Giller :squid:
Browse files

Fixed selection remaining after switching spaces

parent f078341d
No related branches found
No related tags found
No related merge requests found
Pipeline #57038 passed
......@@ -171,6 +171,7 @@ export class Editor extends React.PureComponent<any, stateTypes> {
* @returns Promise with boolean value that is true, if successful.
*/
public loadSpace(spaceId: string): Promise<boolean> {
this.selectNodes([]); // Clear selection
return loadGraphJson(spaceId)
.then((data: GraphData) => {
// Loading space might have created a new space, if requested space was not available
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment