hide old/undated assignments from dashboard

performance boost
diff --git a/init.js b/init.js
index 3d23c7c..a01c3c7 100644
--- a/init.js
+++ b/init.js
@@ -1238,6 +1238,8 @@
                 }
             }
         }
+        //hide old assignments from dashboard
+        if (stream[i].old ? dtps.selectedClass != "dash" : true) {
         streamlist.push((stream[i].old && !oldDiv ? `<h5 style="margin: 75px 75px 10px 75px;` + (dtps.selectedClass == "dash" ? `text-align: center;margin: 75px 25px 10px 75px;` : ``) + ` font-weight: bold;">Old/Undated Assignments</h5>` : "") + `
         <div onclick="` + (stream[i].google ? `window.open('` + stream[i].url + `')` : `dtps.assignment('` + stream[i].id + `', ` + stream[i].class + `)`) + `" class="card graded assignment ` + stream[i].col + `">
         ` + (stream[i].turnedIn && (stream[i].status !== "unsubmitted") ? `<i title="Assignment submitted" class="material-icons floatingIcon" style="color: #0bb75b;">assignment_turned_in</i>` : ``) + `
@@ -1258,6 +1260,7 @@
         </h5>
         </div>
       `);
+    }
         if (stream[i].old) oldDiv = true;
     }
     if (typeof Fuse !== "undefined") {