diff --git a/ui-v2/app/adapters/dc.js b/ui-v2/app/adapters/dc.js index 3d17d70b83..e98b054657 100644 --- a/ui-v2/app/adapters/dc.js +++ b/ui-v2/app/adapters/dc.js @@ -1,7 +1,7 @@ import Adapter from './application'; export default Adapter.extend({ - requestForFindAll: function(request) { + requestForQuery: function(request) { return request` GET /v1/catalog/datacenters `; diff --git a/ui-v2/app/components/data-source/index.hbs b/ui-v2/app/components/data-source/index.hbs index 661f27adb8..3e9f7250ec 100644 --- a/ui-v2/app/components/data-source/index.hbs +++ b/ui-v2/app/components/data-source/index.hbs @@ -1,4 +1,4 @@ {{#if (eq loading "lazy")}} {{! in order to use intersection observer we need a DOM element on the page}} -