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

Fixed errors

parent 8edb7386
No related branches found
No related tags found
No related merge requests found
Pipeline #57034 passed
......@@ -190,12 +190,10 @@ export class Editor extends React.PureComponent<any, stateTypes> {
console.log("Successfully saved space!");
alert("Space saved successfully!");
},
() => {
console.log(
"Something went wrong when saving the space! :("
);
alert("Something went wrong, could not save space.");
};
() => {
console.log("Something went wrong when saving the space! :(");
alert("Something went wrong, could not save space.");
}
);
}
......@@ -467,7 +465,7 @@ export class Editor extends React.PureComponent<any, stateTypes> {
const selectSpaceId: string =
this.state.spaces.length > 0
? this.state.spaces[0]
: this.defaultSpaceId;
: Config.SPACE;
this.loadSpace(selectSpaceId);
});
......
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