Skip to content
Snippets Groups Projects
Commit fcc411c9 authored by Dorian Goepp's avatar Dorian Goepp
Browse files

fix issue with mood display

parent e84a29f1
Branches
No related tags found
No related merge requests found
...@@ -14,7 +14,7 @@ export function Mood(props) { ...@@ -14,7 +14,7 @@ export function Mood(props) {
"BORED": "images/mood/mood-bored.svg" "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' in config) {
if (config.displayMode === "readme") { if (config.displayMode === "readme") {
return <p className="about">The <b>current mood</b> of the agent regarding the valences of its actions.</p>; return <p className="about">The <b>current mood</b> of the agent regarding the valences of its actions.</p>;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment