mirror of
https://github.com/Lissy93/dashy.git
synced 2025-04-08 17:06:18 +02:00
⚡ Fix potential performance and quality issues
This commit is contained in:
parent
aea8a1d0a5
commit
fb86f55bf2
@ -54,6 +54,9 @@ export default {
|
||||
}
|
||||
});
|
||||
},
|
||||
beforeDestroy() {
|
||||
window.removeEventListener();
|
||||
},
|
||||
methods: {
|
||||
/* Emmits users's search term up to parent */
|
||||
userIsTypingSomething() {
|
||||
|
@ -81,7 +81,7 @@ export default {
|
||||
watch: {
|
||||
/* When the theme changes, then call the update method */
|
||||
searchValue() {
|
||||
this.tabbedView = !this.searchValue.length > 0;
|
||||
this.tabbedView = !(this.searchValue.length > 0);
|
||||
},
|
||||
},
|
||||
methods: {
|
||||
|
Loading…
x
Reference in New Issue
Block a user