Commit 284f4dfd authored by Mike Greiling's avatar Mike Greiling Committed by Thong Kuah

Remove unnecessary component registration

parent d13646d9
...@@ -9,7 +9,7 @@ import eventHub from './event_hub'; ...@@ -9,7 +9,7 @@ import eventHub from './event_hub';
import { APPLICATION_STATUS, REQUEST_LOADING, REQUEST_SUCCESS, REQUEST_FAILURE } from './constants'; import { APPLICATION_STATUS, REQUEST_LOADING, REQUEST_SUCCESS, REQUEST_FAILURE } from './constants';
import ClustersService from './services/clusters_service'; import ClustersService from './services/clusters_service';
import ClustersStore from './stores/clusters_store'; import ClustersStore from './stores/clusters_store';
import applications from './components/applications.vue'; import Applications from './components/applications.vue';
import setupToggleButtons from '../toggle_buttons'; import setupToggleButtons from '../toggle_buttons';
/** /**
...@@ -85,16 +85,13 @@ export default class Clusters { ...@@ -85,16 +85,13 @@ export default class Clusters {
this.applications = new Vue({ this.applications = new Vue({
el, el,
components: {
applications,
},
data() { data() {
return { return {
state: store.state, state: store.state,
}; };
}, },
render(createElement) { render(createElement) {
return createElement('applications', { return createElement(Applications, {
props: { props: {
applications: this.state.applications, applications: this.state.applications,
helpPath: this.state.helpPath, helpPath: this.state.helpPath,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment