fix: 🐛 Fix new target navigation issue (#1070)

Fix issue where trying to leave the new target form via the discard
changes dialog would cause the user to have to refresh screen.

✅ Closes: ICU-4047
This commit is contained in:
Cameron Perera authored and GitHub committed 2022-04-26 08:21:11 -05:00
1 parent 2a1e4858fa
commit e0cbbefb41
1 file changed
+9 -7
@@ -1,7 +1,9 @@
{{component
(concat 'form/target/' @model.type)
model=@model
submit=@submit
cancel=@cancel
changeType=@changeType
}}
{{#if @model.type}}
{{component
(concat 'form/target/' @model.type)
model=@model
submit=@submit
cancel=@cancel
changeType=@changeType
}}
{{/if}}