diff --git a/src/App.vue b/src/App.vue
index 43d6ecd..9bc18e7 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -25,10 +25,10 @@
-
+
- {
+ return chat.author.toLowerCase().includes(this.search.toLowerCase()) || chat.text.toLowerCase().includes(this.search.toLowerCase())
+ })
}
},
methods: {
diff --git a/src/background.js b/src/background.js
index 40ad5b3..9b93a62 100644
--- a/src/background.js
+++ b/src/background.js
@@ -52,7 +52,7 @@ async function createWindow() {
if (process.env.WEBPACK_DEV_SERVER_URL) {
// Load the url of the dev server if in development mode
await win.loadURL(process.env.WEBPACK_DEV_SERVER_URL)
- //if (!process.env.IS_TEST) win.webContents.openDevTools({mode:'undocked'})
+ if (!process.env.IS_TEST) win.webContents.openDevTools({mode:'undocked'})
//Log autoUpdater in development
autoUpdater.logger = require("electron-log")
diff --git a/src/components/Message.vue b/src/components/Message.vue
index 0521c21..c83f40d 100644
--- a/src/components/Message.vue
+++ b/src/components/Message.vue
@@ -187,6 +187,8 @@ export default {
this.autoCompleteInput(input.value)
}
}
+
+ this.$nextTick(this.autoCompleteHooks)
},
isEmojis(msgText) {
const regex = /<% RGI_Emoji %>|\p{Emoji_Presentation}|\p{Emoji}\uFE0F|\p{Emoji_Modifier_Base}/gu
@@ -295,7 +297,7 @@ export default {
}
},
mounted () {
- this.autoCompleteHooks()
+ this.$nextTick(this.autoCompleteHooks)
this.fetchMessages()
},
socket: {
@@ -343,6 +345,7 @@ export default {
}
return
}
+
if (Object.keys(message).length == 0) {
console.log("Received a message, but content was empty.")
} else {