diff --git a/src/components/App.vue b/src/components/App.vue
index bc025b86bc..8c06a5d501 100755
--- a/src/components/App.vue
+++ b/src/components/App.vue
@@ -64,6 +64,8 @@
diff --git a/src/components/StateBrowserBuffer.vue b/src/components/StateBrowserBuffer.vue
index a98677c0ec..9469d9ce31 100644
--- a/src/components/StateBrowserBuffer.vue
+++ b/src/components/StateBrowserBuffer.vue
@@ -68,6 +68,7 @@ export default {
AwayStatusIndicator,
},
props: ['buffer', 'activePrompt'],
+ emits: ['selected'],
computed: {
network() {
return this.buffer.getNetwork();
diff --git a/src/components/TypingStatusIndicator.vue b/src/components/TypingStatusIndicator.vue
index 8f2f66cbb2..e8eceb7779 100644
--- a/src/components/TypingStatusIndicator.vue
+++ b/src/components/TypingStatusIndicator.vue
@@ -1,9 +1,9 @@
-
+
diff --git a/src/components/UrlEmbed.vue b/src/components/UrlEmbed.vue
index 9d999af01d..c20bc8f4a5 100644
--- a/src/components/UrlEmbed.vue
+++ b/src/components/UrlEmbed.vue
@@ -23,6 +23,7 @@ let embedlyTagIncluded = false;
export default {
props: ['url', 'showPin', 'iframeSandboxOptions'],
+ emits: ['close', 'setHeight', 'setMaxHeight'],
data() {
return {
embedlyObject: null,
@@ -51,7 +52,7 @@ export default {
created() {
this.updateEmbed();
},
- beforeDestroy() {
+ beforeUnmount() {
this.cleanEmbed();
},
methods: {
diff --git a/src/components/startups/CustomServer.vue b/src/components/startups/CustomServer.vue
index 6470d57212..e3698b31f9 100644
--- a/src/components/startups/CustomServer.vue
+++ b/src/components/startups/CustomServer.vue
@@ -137,6 +137,7 @@ import _ from 'lodash';
import * as Misc from '@/helpers/Misc';
export default {
+ emits: ['start'],
data: function data() {
return {
title: 'Where are you connecting today?',
diff --git a/src/components/startups/KiwiBnc.vue b/src/components/startups/KiwiBnc.vue
index 76e4494017..2bae14ef5e 100644
--- a/src/components/startups/KiwiBnc.vue
+++ b/src/components/startups/KiwiBnc.vue
@@ -32,6 +32,8 @@
'kiwi public';
import _ from 'lodash';
+import { watch } from 'vue';
+
import Logger from '@/libs/Logger';
import StartupLayout from './CommonLayout';
@@ -80,7 +82,7 @@ export default {
bncnet.ircClient.off('close', onClose);
};
- let onRegistered = async() => {
+ let onRegistered = async () => {
cleanUpEvents();
let bncNetworks = await bncnet.ircClient.bnc.getNetworks();
@@ -258,7 +260,7 @@ export default {
let debouncedSaveState = _.debounce(saveState, 2000);
- this.$state.$watch('networks', debouncedSaveState, { deep: true });
+ watch(this.$state.networks, debouncedSaveState, { deep: true });
// Just before we connect to a network, make sure the BNC is sabed and connected to
// it or at least trying to connect.
diff --git a/src/components/startups/Personal.vue b/src/components/startups/Personal.vue
index 2c1703e754..b80061b947 100644
--- a/src/components/startups/Personal.vue
+++ b/src/components/startups/Personal.vue
@@ -68,6 +68,7 @@ import IPC from '@/libs/IPC';
let firstRun = true;
export default {
+ emits: ['start'],
data: function data() {
return {
hasOtherTab: false,
diff --git a/src/components/utils/InputConfirm.vue b/src/components/utils/InputConfirm.vue
index 7c102f07bf..8761063e88 100644
--- a/src/components/utils/InputConfirm.vue
+++ b/src/components/utils/InputConfirm.vue
@@ -17,10 +17,9 @@