change custom notification message from checkbox to toggle

This commit is contained in:
Keith Grant
2019-08-01 14:58:14 -07:00
committed by Jim Ladd
parent 1470fa61d5
commit 56f04e0153
4 changed files with 17 additions and 10 deletions

View File

@@ -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', {