mirror of
https://github.com/ansible/awx.git
synced 2026-01-13 02:50:02 -03:30
Fix dismiss of credential permissions routing
This commit is contained in:
parent
e904d47122
commit
a855b66517
@ -28,7 +28,7 @@
|
||||
</at-panel-body>
|
||||
</at-panel>
|
||||
|
||||
<at-panel ng-if="$state.current.name.includes('permissions')">
|
||||
<at-panel ng-if="$state.current.name.includes('permissions')" on-dismiss="credentials">
|
||||
<at-panel-heading>{{:: vm.strings.get('permissions.TITLE') }}</at-panel-heading>
|
||||
|
||||
<at-tab-group>
|
||||
|
||||
@ -16,7 +16,7 @@ function AtPanelController ($state) {
|
||||
};
|
||||
|
||||
vm.dismiss = () => {
|
||||
$state.go('^');
|
||||
$state.go(scope.onDismiss || '^');
|
||||
};
|
||||
|
||||
vm.use = child => {
|
||||
@ -38,7 +38,7 @@ function atPanel (pathService, _$animate_) {
|
||||
link: atPanelLink,
|
||||
scope: {
|
||||
state: '=',
|
||||
animate: '@'
|
||||
onDismiss: '@'
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user