Skip to content

Commit ba7a314

Browse files
authored
Ensure some data is returned (#81375) (#81407)
1 parent 6701ace commit ba7a314

File tree

1 file changed

+1
-1
lines changed
  • x-pack/plugins/monitoring/public/views/elasticsearch/nodes

1 file changed

+1
-1
lines changed

x-pack/plugins/monitoring/public/views/elasticsearch/nodes/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ uiRoutes.when('/elasticsearch/nodes', {
6363

6464
const promise = globalState.cluster_uuid
6565
? getNodes()
66-
: new Promise((resolve) => resolve({}));
66+
: new Promise((resolve) => resolve({ data: {} }));
6767
return promise
6868
.then((response) => response.data)
6969
.catch((err) => {

0 commit comments

Comments
 (0)