diff options
author | Julius Härtl <jus@bitgrid.net> | 2018-11-27 18:03:00 +0100 |
---|---|---|
committer | Julius Härtl <jus@bitgrid.net> | 2018-11-28 21:24:32 +0100 |
commit | 31ccf25f8de2c551983e8c678452cf074a91a099 (patch) | |
tree | 5051fcd3e89f055006fb337d182ae43947fb122e /src/App.vue | |
parent | a48a8b206ce386a68ec35f14e00027864032d8a2 (diff) |
Fix linter
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'src/App.vue')
-rw-r--r-- | src/App.vue | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/App.vue b/src/App.vue index 4781ec08..d27f5c4d 100644 --- a/src/App.vue +++ b/src/App.vue @@ -83,11 +83,6 @@ export default { searchTerm: '' } }, - watch:{ - $route (to, from){ - this.searchTerm = '' - } - }, computed: { url: function() { return OC.linkTo('social', 'img/nextcloud.png') @@ -136,7 +131,7 @@ export default { } }, { - id: 'social-spacer', + id: 'social-spacer' }, { id: 'social-local', @@ -165,6 +160,11 @@ export default { } } }, + watch: { + $route(to, from) { + this.searchTerm = '' + } + }, beforeMount: function() { // importing server data into the store const serverDataElmt = document.getElementById('serverData') |