mirror of
https://github.com/ansible/awx.git
synced 2026-01-19 05:31:22 -03:30
fix indefinite wait on no license user login
This commit is contained in:
parent
d076be8b8b
commit
723ec44846
@ -16,7 +16,7 @@
|
||||
|
||||
export function LicenseController(ClearScope, $location, $rootScope, $compile, $filter, GenerateForm, Rest, Alert,
|
||||
GetBasePath, ProcessErrors, FormatDate, Prompt, Empty, LicenseForm, IsAdmin, CreateDialog, CheckLicense,
|
||||
TextareaResize, $scope) {
|
||||
TextareaResize, $scope, Wait) {
|
||||
|
||||
ClearScope();
|
||||
|
||||
@ -178,6 +178,7 @@ export function LicenseController(ClearScope, $location, $rootScope, $compile, $
|
||||
});
|
||||
}
|
||||
});
|
||||
Wait("stop");
|
||||
});
|
||||
CheckLicense.GetLicense('LicenseDataReady', $scope);
|
||||
|
||||
@ -185,4 +186,4 @@ export function LicenseController(ClearScope, $location, $rootScope, $compile, $
|
||||
|
||||
LicenseController.$inject = ['ClearScope', '$location', '$rootScope', '$compile', '$filter', 'GenerateForm', 'Rest', 'Alert',
|
||||
'GetBasePath', 'ProcessErrors', 'FormatDate', 'Prompt', 'Empty', 'LicenseForm', 'IsAdmin', 'CreateDialog',
|
||||
'CheckLicense', 'TextareaResize', '$scope'];
|
||||
'CheckLicense', 'TextareaResize', '$scope', "Wait"];
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user