Commit af374299 authored by  Bruno Daniel Di Bello Baladan's avatar Bruno Daniel Di Bello Baladan
Browse files

lo que teniamos en el monitoreo, no se va la notificacion

parent 96dbd225
Pipeline #344 skipped
......@@ -4,7 +4,7 @@
function employeesCtrl(employeeService) {
var vm = this;
vm.mensaje = '';
getEmployees();
vm.recargar = getEmployees;
......@@ -29,9 +29,8 @@
connection.start().done(function () { });
employeesHub.on('broadcastMessage', function (messageLogs) {
alert('holanda');
vm.mensaje = "Ha ingresado un nuevo usuario";
setTimeout(function () {vm.mensaje = ""},2000)
setTimeout(function () {vm.mensaje = ""},6000)
vm.recargar();
});
......
......@@ -68,6 +68,9 @@ Tipo Trabajador:
</div>
</div>
<div class="alert alert-success" ng-show="ec.mensaje != ''">
{{ec.mensaje}}
</div>
</div>
</div>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment