fix: 🐛 alias disappearing on target details page (#2519)
* fix: 🐛 alias disappearing on target details page ✅ Closes: https://hashicorp.atlassian.net/browse/ICU-15296 * test: 💍 fix test ✅ Closes: https://hashicorp.atlassian.net/browse/ICU-15296
This commit is contained in:
1 parent
2424395415
commit
c0d7af7899
5 files changed
+13
-1
No files matched your search
@@ -328,6 +328,7 @@ export default class ScopesScopeTargetsIndexController extends Controller {
|
||||
async saveWorkerFilter(target) {
|
||||
await target.save();
|
||||
await this.router.replaceWith('scopes.scope.targets.target.workers');
|
||||
await this.router.refresh('scopes.scope.targets.target');
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
+1
@@ -61,6 +61,7 @@ export default class ScopesScopeTargetsTargetAddBrokeredCredentialSourcesControl
|
||||
this.router.replaceWith(
|
||||
'scopes.scope.targets.target.brokered-credential-sources',
|
||||
);
|
||||
this.router.refresh('scopes.scope.targets.target');
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -23,6 +23,7 @@ export default class ScopesScopeTargetsTargetAddHostSourcesController extends Co
|
||||
async save(target, hostSetIDs) {
|
||||
await target.addHostSources(hostSetIDs);
|
||||
this.router.replaceWith('scopes.scope.targets.target.host-sources');
|
||||
this.router.refresh('scopes.scope.targets.target');
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
+1
@@ -60,6 +60,7 @@ export default class ScopesScopeTargetsTargetAddInjectedApplicationCredentialSou
|
||||
this.router.replaceWith(
|
||||
'scopes.scope.targets.target.injected-application-credential-sources',
|
||||
);
|
||||
this.router.refresh('scopes.scope.targets.target');
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user