Skip to content

Commit

Permalink
fix(IN-519): Solapamiento de funcionalidades en el sidebar
Browse files Browse the repository at this point in the history
  • Loading branch information
aldoEMatamala authored and negro89 committed May 2, 2023
1 parent 48a7ceb commit 46cf9e1
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -303,6 +303,7 @@ export class PlanIndicacionesComponent implements OnInit {
}

onIndicacionesCellClick(indicacion, hora) {
this.nuevaIndicacion = false;
const fechaHora = moment(this.fecha).startOf('day').add(hora < this.horaOrganizacion ? hora + 24 : hora, 'h');
if (this.capa !== 'interconsultores' && indicacion.estado.tipo !== 'draft' && indicacion.estado.verificacion?.estado === 'aceptada' && fechaHora.isSame(moment(), 'day')) {
this.onIndicaciones(indicacion, hora);
Expand Down

0 comments on commit 46cf9e1

Please sign in to comment.