Skip to content

Exercise solved - Sebastián Moreyra#34

Open
SebastianMoreyraUTN wants to merge 1 commit intoutnfrrottads:servicesfrom
SebastianMoreyraUTN:services
Open

Exercise solved - Sebastián Moreyra#34
SebastianMoreyraUTN wants to merge 1 commit intoutnfrrottads:servicesfrom
SebastianMoreyraUTN:services

Conversation

@SebastianMoreyraUTN
Copy link
Copy Markdown

Hola profe, creo mi pull request del ejercicio de Servicios.
Saludos!!!

}

setTasks(list) {
localStorage.setItem("taskList",JSON.stringify(list));
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

usemos comillas simples, seamos consistentes con estos detalles

Comment thread src/app/todo.service.ts
constructor(private storage: LocalStorageService) { }
constructor(private storage: LocalStorageService) {
this.list = this.storage.getTasks();
console.log(this.list);
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

saqquemos los console.log antes de entregar el ¨PR

Comment thread src/app/todo.service.ts
}
getLastId() {
let lastId = 0;
this.list.forEach(e => {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

evitemos totdo tipo de abreviaciones

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants