Commit fcc411c9 authored by Dorian Goepp's avatar Dorian Goepp
Browse files

fix issue with mood display

parent e84a29f1
......@@ -14,7 +14,7 @@ export function Mood(props) {
"BORED": "images/mood/mood-bored.svg"
};
const config = this.props.node.getConfig()
const config = props.node.getConfig()
if (config && 'displayMode' in config) {
if (config.displayMode === "readme") {
return <p className="about">The <b>current mood</b> of the agent regarding the valences of its actions.</p>;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment