File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed
app/routes/information-assets Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change 11import Route from '@ember/routing/route' ;
2+
23import { service } from '@ember/service' ;
34
45export default class InformationAssetsInformationAssetRoute extends Route {
@@ -11,6 +12,7 @@ export default class InformationAssetsInformationAssetRoute extends Route {
1112 { pageAttachments : { refreshModel : true } } ,
1213 { sizeAttachments : { refreshModel : true } } ,
1314 { sortAttachments : { refreshModel : true } } ,
15+ { process : { refreshModel : false } } ,
1416 ] ;
1517
1618 beforeModel ( transition ) {
@@ -73,4 +75,12 @@ export default class InformationAssetsInformationAssetRoute extends Route {
7375 } ,
7476 ) ;
7577 }
78+
79+ resetController ( controller , _isExiting , transition ) {
80+ if (
81+ transition . targetName !== 'information-assets.information-asset.index'
82+ ) {
83+ controller . process = null ;
84+ }
85+ }
7686}
You can’t perform that action at this time.
0 commit comments