[O] Support "pending" as a completion status
This commit is contained in:
@@ -75,6 +75,7 @@ export class Assignment
|
|||||||
{
|
{
|
||||||
switch (this.complete)
|
switch (this.complete)
|
||||||
{
|
{
|
||||||
|
case 'Pending': return 'Pending'; // ID: 0
|
||||||
case 'Complete': return ''; // ID: 3
|
case 'Complete': return ''; // ID: 3
|
||||||
case 'NREQ': return 'Dropped'; // ID: 4
|
case 'NREQ': return 'Dropped'; // ID: 4
|
||||||
case 'Late': return 'Late';
|
case 'Late': return 'Late';
|
||||||
@@ -88,6 +89,7 @@ export class Assignment
|
|||||||
{
|
{
|
||||||
switch (this.complete)
|
switch (this.complete)
|
||||||
{
|
{
|
||||||
|
case 'Pending': return '#b1b1b1';
|
||||||
case 'NREQ': return '#41b141';
|
case 'NREQ': return '#41b141';
|
||||||
case 'Late': return '#ff0036';
|
case 'Late': return '#ff0036';
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user