mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 17:59:23 -04:00
Fix incorrect property access
This commit is contained in:
parent
c450934d8f
commit
f83c4fdbff
1 changed files with 2 additions and 2 deletions
|
@ -25,8 +25,8 @@ module.directive('patternChecker', function () {
|
|||
$http.post(chrome.addBasePath(`/api/kibana/${this.pattern}/_count`))
|
||||
.then(
|
||||
(response) => {
|
||||
this.resultCount = response.count;
|
||||
this.isValidated = !!response.count;
|
||||
this.resultCount = response.data.count;
|
||||
this.isValidated = !!response.data.count;
|
||||
},
|
||||
(error) => {
|
||||
if (error.status === 404) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue