We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d4a4932 commit c42ec27Copy full SHA for c42ec27
src/App.vue
@@ -128,7 +128,9 @@ export default {
128
129
created() {
130
store.commit('setDocumentTitle', document.title)
131
- this.search = new OCA.Search(this.onSearch, this.onResetSearch)
+ if (typeof OCA.Search === 'function') {
132
+ this.search = new OCA.Search(this.onSearch, this.onResetSearch)
133
+ }
134
window.addEventListener('beforeunload', this.onClose)
135
this.loadNotes()
136
},
0 commit comments