Skip to content

Commit

Permalink
Fixed issues found during the review
Browse files Browse the repository at this point in the history
  • Loading branch information
tanya-kta committed Jan 25, 2021
1 parent 4d115bc commit 53323ab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/scripts/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,9 @@ var dayButtons = new Vue({
axios.get("/api/days/brief").then((response) => {
if (response.data.ok) {
this.days = response.data.days;
for(let day of this.days) {
this.days.map((day) => {
day.data = new Date(day.data);
}
});
}
else {
alert("The request to API was not successful. Please try again or contact the authors.");
Expand Down

0 comments on commit 53323ab

Please sign in to comment.