Allow Vue devtools in production
This commit is contained in:
parent
7b3f7d1c59
commit
446ad6a5f4
@ -53,6 +53,11 @@ const vueApp = new Vue({
|
||||
},
|
||||
});
|
||||
|
||||
Vue.config.errorHandler = function(e) {
|
||||
console.error(e); // eslint-disable-line
|
||||
vueApp.currentUserVisibleError = `Vue error: ${e.message}. Please check devtools and report it in #thelounge`;
|
||||
};
|
||||
|
||||
function findChannel(id) {
|
||||
for (const network of vueApp.networks) {
|
||||
for (const channel of network.channels) {
|
||||
|
Loading…
Reference in New Issue
Block a user