Cleaning code.
All checks were successful
continuous-integration/drone Build is passing

This commit is contained in:
aminecmi 2022-07-23 13:31:02 +02:00
parent 1b8f85606f
commit fa83860c0a
4 changed files with 3 additions and 15 deletions

View File

@ -71,7 +71,3 @@ export default {
}
}
</script>
<style scoped>
</style>

View File

@ -157,7 +157,7 @@ export default {
body: JSON.stringify({content: this.searchQ})
}).then(r => {
return r.json();
}).then(result => {
}).then(() => {
this.searchQ = '';
this.fetchListAndItems(true);
})

View File

@ -72,8 +72,8 @@ export default {
'Content-Type': 'application/json;charset=utf-8',
'X-API-KEY': localStorage.getItem('KEY')
}
}).then(r => {
if (r.status !== 404) {
}).then(result => {
if (result.status !== 404) {
this.lists = this.lists.filter(r => r.id !== item.id);
}
});
@ -103,7 +103,3 @@ export default {
}
}
</script>
<style scoped>
</style>

View File

@ -46,7 +46,3 @@ export default {
}
}
</script>
<style scoped>
</style>