diff --git a/src/vue-poc/static/app-gen.js b/src/vue-poc/static/app-gen.js index a8db98a..e6ee7cd 100644 --- a/src/vue-poc/static/app-gen.js +++ b/src/vue-poc/static/app-gen.js @@ -97,7 +97,7 @@ const Edit=Vue.extend({ `, data () { return { - contentA: 'declare function local:query($q as xs:string)\n{\n}', + contentA: 'declare function local:query($q as xs:string)\n { \n }', mode:'xquery', url:'', name:'', @@ -618,9 +618,7 @@ const app = new Vue({ }] }}, methods: { - openSidebar() { - this.sidebar = !this.sidebar; - }, + search(){ this.$router.push({path: 'search',query: { q: this.q }}) } diff --git a/src/vue-poc/static/app.html b/src/vue-poc/static/app.html index 4dcc1ee..58539cc 100644 --- a/src/vue-poc/static/app.html +++ b/src/vue-poc/static/app.html @@ -55,13 +55,13 @@ - + {{ item.icon }} - {{ item.title }} + {{ item.title }} diff --git a/src/vue-poc/static/core.js b/src/vue-poc/static/core.js index 330bdbd..d17a133 100644 --- a/src/vue-poc/static/core.js +++ b/src/vue-poc/static/core.js @@ -100,9 +100,7 @@ const app = new Vue({ }] }}, methods: { - openSidebar() { - this.sidebar = !this.sidebar; - }, + search(){ this.$router.push({path: 'search',query: { q: this.q }}) } diff --git a/src/vue-poc/templates/edit.vue b/src/vue-poc/templates/edit.vue index 2518b53..45b2ea9 100644 --- a/src/vue-poc/templates/edit.vue +++ b/src/vue-poc/templates/edit.vue @@ -102,7 +102,7 @@ v-on:annotation="annotation"> template: '#edit', data () { return { - contentA: 'declare function local:query($q as xs:string)\n{\n}', + contentA: 'declare function local:query($q as xs:string)\n { \n }', mode:'xquery', url:'', name:'',