diff --git a/doccano/app/server/static/annotation.1.js b/doccano/app/server/static/annotation.1.js index e28a1934..70d37fb0 100644 --- a/doccano/app/server/static/annotation.1.js +++ b/doccano/app/server/static/annotation.1.js @@ -26,7 +26,6 @@ var vm = new Vue({ total: 0, remaining: 0, searchQuery: '', - history: [] }, methods: { @@ -90,7 +89,9 @@ var vm = new Vue({ axios.get('/' + base_url + '/apis/search?keyword=' + this.searchQuery) .then(function (response) { console.log('search response'); - self.history = response.data['data']; + console.log(response.data['data']); + self.items = response.data['data']; + self.searchQuery = ''; }) .catch(function (error) { console.log('ERROR!! happend by Backend.') diff --git a/doccano/app/server/templates/annotation.1.html b/doccano/app/server/templates/annotation.1.html index 07da2775..15756353 100644 --- a/doccano/app/server/templates/annotation.1.html +++ b/doccano/app/server/templates/annotation.1.html @@ -8,15 +8,6 @@ Active Learn -