fix: 🐛 move out route-action from the components

This commit is contained in:
dharini committed 2022-02-07 12:48:32 -08:00
1 parent bf35789bd3
commit 2f89d928b1
4 files changed
+7 -7

No files matched your search

@@ -53,7 +53,7 @@
<form.radioGroup
@name='types'
@selectedValue={{@model.type}}
@changed={{route-action 'changeType'}}
@changed={{@changeType}}
as |radioGroup|
>
<radioGroup.card
@@ -80,7 +80,7 @@
<form.radioGroup
@name='aws_plugin'
@selectedValue={{@model.compositeType}}
@changed={{route-action 'changeType'}}
@changed={{@changeType}}
as |radioGroup|
>
<radioGroup.card
@@ -53,7 +53,7 @@
<form.radioGroup
@name='azure_plugin'
@selectedValue={{@model.type}}
@changed={{route-action 'changeType'}}
@changed={{@changeType}}
as |radioGroup|
>
<radioGroup.card
@@ -78,7 +78,7 @@
<form.radioGroup
@name='aws_plugin'
@selectedValue={{@model.compositeType}}
@changed={{route-action 'changeType'}}
@changed={{@changeType}}
as |radioGroup|
>
<radioGroup.card
@@ -53,7 +53,7 @@
<form.radioGroup
@name='static_type'
@selectedValue={{@model.type}}
@changed={{route-action 'changeType'}}
@changed={{@changeType}}
as |radioGroup|
>
<radioGroup.card
@@ -80,7 +80,7 @@
<form.radioGroup
@name='aws_plugin'
@selectedValue={{@model.compositeType}}
@changed={{route-action 'changeType'}}
@changed={{@changeType}}
as |radioGroup|
>
<radioGroup.card
@@ -18,7 +18,7 @@
@model={{@model}}
@submit={{route-action 'save' @model}}
@cancel={{route-action 'cancel' @model}}
@changeType={{route-action 'changeType' @model}}
@changeType={{route-action 'changeType'}}
/>
</page.body>