Commit 6cd25851 authored by jerasmus's avatar jerasmus Committed by Enrique Alcantara

Address FE code review comments

- Removed fetchInstanceTypes & signOut from the configuration form.
parent b2d751cc
...@@ -22,9 +22,7 @@ const { ...@@ -22,9 +22,7 @@ const {
mapState: mapSecurityGroupsState, mapState: mapSecurityGroupsState,
mapActions: mapSecurityGroupsActions, mapActions: mapSecurityGroupsActions,
} = createNamespacedHelpers('securityGroups'); } = createNamespacedHelpers('securityGroups');
const { const { mapState: mapInstanceTypesState } = createNamespacedHelpers('instanceTypes');
mapState: mapInstanceTypesState,
} = createNamespacedHelpers('instanceTypes');
export default { export default {
components: { components: {
...@@ -268,7 +266,6 @@ export default { ...@@ -268,7 +266,6 @@ export default {
methods: { methods: {
...mapActions([ ...mapActions([
'createCluster', 'createCluster',
'signOut',
'setClusterName', 'setClusterName',
'setEnvironmentScope', 'setEnvironmentScope',
'setKubernetesVersion', 'setKubernetesVersion',
...@@ -288,7 +285,6 @@ export default { ...@@ -288,7 +285,6 @@ export default {
...mapRolesActions({ fetchRoles: 'fetchItems' }), ...mapRolesActions({ fetchRoles: 'fetchItems' }),
...mapKeyPairsActions({ fetchKeyPairs: 'fetchItems' }), ...mapKeyPairsActions({ fetchKeyPairs: 'fetchItems' }),
...mapSecurityGroupsActions({ fetchSecurityGroups: 'fetchItems' }), ...mapSecurityGroupsActions({ fetchSecurityGroups: 'fetchItems' }),
...mapInstanceTypesActions({ fetchInstanceTypes: 'fetchItems' }),
setRegionAndFetchVpcsAndKeyPairs(region) { setRegionAndFetchVpcsAndKeyPairs(region) {
this.setRegion({ region }); this.setRegion({ region });
this.setVpc({ vpc: null }); this.setVpc({ vpc: null });
......
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