📝 - Changing app name

This commit is contained in:
RemiSaurel
2022-08-29 22:41:50 +02:00
parent 77c9a2b3c3
commit 709959cdb1
3 changed files with 6 additions and 6 deletions
+2 -2
View File
@@ -1,11 +1,11 @@
{
"name": "todoapp",
"name": "own-workspace",
"version": "0.1.0",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "todoapp",
"name": "own-workspace",
"version": "0.1.0",
"dependencies": {
"axios": "^0.27.2",
+1 -1
View File
@@ -1,5 +1,5 @@
{
"name": "todoapp",
"name": "own-workspace",
"version": "0.1.0",
"private": true,
"scripts": {
+3 -3
View File
@@ -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 = ""