mirror of
https://github.com/ZwareBear/awx.git
synced 2026-04-03 06:31:49 -05:00
change custom notification message from checkbox to toggle
This commit is contained in:
@@ -254,6 +254,9 @@ export default ['Rest', 'Wait',
|
||||
});
|
||||
}
|
||||
});
|
||||
$scope.toggleForm = function(key) {
|
||||
$scope[key] = !$scope[key];
|
||||
};
|
||||
$scope.$watch('notification_type', (value) => {
|
||||
if (value) {
|
||||
$scope.$broadcast('reset-code-mirror', {
|
||||
|
||||
Reference in New Issue
Block a user