mirror of
https://github.com/LucasVbr/own-workspace.git
synced 2026-05-19 10:53:19 +00:00
📝 - Changing app name
This commit is contained in:
@@ -56,12 +56,12 @@ export default {
|
||||
e !== item
|
||||
)
|
||||
this.$store.commit("addItemFinished", item);
|
||||
this.clearItem()
|
||||
this.saveCurrentItems()
|
||||
this.clearItem();
|
||||
this.saveCurrentItems();
|
||||
localStorage.setItem("nbItemsFinished", this.$store.getters.itemsFinished.length);
|
||||
axios.post(HEROKU_URL + 'todos', {
|
||||
title: item.text,
|
||||
})
|
||||
});
|
||||
},
|
||||
clearItem() {
|
||||
this.item = ""
|
||||
|
||||
Reference in New Issue
Block a user