mirror of
https://github.com/ZwareBear/awx.git
synced 2026-04-18 14:01:49 -05:00
Add org Lookup implementation and WIP credential_type
This commit is contained in:
@@ -9,7 +9,7 @@ function atInputLookupLink (scope, element, attrs, controllers) {
|
||||
inputController.init(scope, element, formController);
|
||||
}
|
||||
|
||||
function AtInputLookupController (baseInputController, $state) {
|
||||
function AtInputLookupController (baseInputController, $state, $stateParams) {
|
||||
let vm = this || {};
|
||||
|
||||
let scope;
|
||||
@@ -36,13 +36,15 @@ function AtInputLookupController (baseInputController, $state) {
|
||||
params.selected = scope.state._value;
|
||||
}
|
||||
|
||||
console.log(scope.state);
|
||||
$state.go(scope.state._route, params);
|
||||
};
|
||||
}
|
||||
|
||||
AtInputLookupController.$inject = [
|
||||
'BaseInputController',
|
||||
'$state'
|
||||
'$state',
|
||||
'$stateParams'
|
||||
];
|
||||
|
||||
function atInputLookup (pathService) {
|
||||
|
||||
Reference in New Issue
Block a user