From fcc411c9b1bcc24a0783307899391020e725c348 Mon Sep 17 00:00:00 2001
From: Dorian Goepp <dorian.goepp@gmail.com>
Date: Tue, 9 Apr 2019 16:08:59 +0200
Subject: [PATCH] fix issue with mood display

---
 src/Mood/Mood.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/Mood/Mood.js b/src/Mood/Mood.js
index 65c282e..b41f8fc 100644
--- a/src/Mood/Mood.js
+++ b/src/Mood/Mood.js
@@ -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>;
-- 
GitLab