app/views/blazer/queries/home.html.erb in blazer-2.6.5 vs app/views/blazer/queries/home.html.erb in blazer-3.0.0

- old
+ new

@@ -75,16 +75,17 @@ var prepareQuery = function (str) { return str.toLowerCase() } - var app = new Vue({ - el: "#queries", - data: { - searchTerm: "", - more: more, - updateCounter: 0 + var app = Vue.createApp({ + data: function() { + return { + searchTerm: "", + more: more, + updateCounter: 0 + } }, created: function() { this.listItems = dashboards.concat(queries) prepareSearch(this.listItems) @@ -161,6 +162,8 @@ el.focus() } } } }) + app.config.compilerOptions.whitespace = "preserve" + app.mount("#queries") </script>