mirror of
https://github.com/bastienwirtz/homer.git
synced 2025-12-17 21:59:50 +01:00
chore(lint): Eslint 9 update
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user