Skip to content

Commit

Permalink
UPDATE to Plan Release Date
Browse files Browse the repository at this point in the history
  • Loading branch information
tuehoang committed Jun 23, 2022
1 parent 35552a8 commit e3b49c0
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions compair/static/script-assignment-search.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,13 +51,11 @@ function showsearchapi(search_data) {
for (let key in search_data) {
//tab += `<tr><td colspan="4">${search_data[key]}</td></tr>`;
let obj = JSON.parse(search_data[key])

obj.compare_start = null;

if (obj.compare_start == null){
obj.compare_start = 'After answering ends';
}

obj.compare_end = null;
if (obj.compare_end == null){
obj.compare_end = '<i>No end date</i>';
}
Expand Down

0 comments on commit e3b49c0

Please sign in to comment.