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:
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}}
|
||||
Reference in new issue
Block a user