mirror of
https://github.com/ansible/awx.git
synced 2026-03-28 14:25:05 -02:30
Fix dismiss of credential permissions routing
This commit is contained in:
@@ -28,7 +28,7 @@
|
|||||||
</at-panel-body>
|
</at-panel-body>
|
||||||
</at-panel>
|
</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-panel-heading>{{:: vm.strings.get('permissions.TITLE') }}</at-panel-heading>
|
||||||
|
|
||||||
<at-tab-group>
|
<at-tab-group>
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ function AtPanelController ($state) {
|
|||||||
};
|
};
|
||||||
|
|
||||||
vm.dismiss = () => {
|
vm.dismiss = () => {
|
||||||
$state.go('^');
|
$state.go(scope.onDismiss || '^');
|
||||||
};
|
};
|
||||||
|
|
||||||
vm.use = child => {
|
vm.use = child => {
|
||||||
@@ -38,7 +38,7 @@ function atPanel (pathService, _$animate_) {
|
|||||||
link: atPanelLink,
|
link: atPanelLink,
|
||||||
scope: {
|
scope: {
|
||||||
state: '=',
|
state: '=',
|
||||||
animate: '@'
|
onDismiss: '@'
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user