From 0dc0864be0e1645e8d23eebf204d7cc2852621ee Mon Sep 17 00:00:00 2001
From: Roosted7 <thomasroos@live.nl>
Date: Tue, 1 May 2018 16:51:21 +0200
Subject: [PATCH] Remove fake "assigned" label from student matching

---
 client/views/students/StudentPanelBlock.jsx | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/client/views/students/StudentPanelBlock.jsx b/client/views/students/StudentPanelBlock.jsx
index cb4bf1e11..a3a82d174 100644
--- a/client/views/students/StudentPanelBlock.jsx
+++ b/client/views/students/StudentPanelBlock.jsx
@@ -27,11 +27,11 @@ const StudentPanelBlock = (props) => {
                     <i className="fa fa-database"></i>
                 </a>
                 {props.student.id}&emsp;
-            <span className="panel-icon">
-                    <i className="fa fa-check"></i>
-                    {/* TODO: Make icon respond to possible submissions of student */}
+                <span className="panel-icon">
+                    {props.matched ? <i className="fa fa-check" /> : null }
+                    {/* TODO: Show other submissions that student is assigned to */}
                 </span>
-                <i>assigned</i>
+                <i>{props.matched ? "matched" : ""}</i>
             </div>
 
         </div>
-- 
GitLab