chore(lint): Eslint 9 update

This commit is contained in:
Bastien Wirtz
2024-10-16 21:29:18 +02:00
parent 56a5c0c581
commit 08bc4f417d
45 changed files with 325 additions and 342 deletions

View File

@@ -25,11 +25,6 @@ export default {
message: {},
};
},
created: async function () {
// Look for a new message if an endpoint is provided.
this.message = Object.assign({}, this.item);
await this.getMessage();
},
computed: {
show: function () {
return this.message.title || this.message.content;
@@ -40,6 +35,11 @@ export default {
this.message = Object.assign({}, item);
},
},
created: async function () {
// Look for a new message if an endpoint is provided.
this.message = Object.assign({}, this.item);
await this.getMessage();
},
methods: {
getMessage: async function () {
if (!this.item) {