mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 04:57:52 +00:00
fix eye position
This commit is contained in:
@@ -275,7 +275,7 @@
|
||||
<div class="list-people flex-grow-1">
|
||||
<ion-item lines="none">
|
||||
<ion-list>
|
||||
<ion-label *ngIf="taskParticipantsCc?.length < 1" class="list-people-title">Adicionar Intervenientes*</ion-label>
|
||||
<ion-label *ngIf="taskParticipantsCc?.length < 1" class="list-people-title">Com Conhecimento*</ion-label>
|
||||
<ion-label *ngFor="let participant of taskParticipantsCc">{{participant.Name}}</ion-label>
|
||||
</ion-list>
|
||||
</ion-item>
|
||||
|
||||
@@ -638,14 +638,14 @@ export class EditEventPage implements OnInit {
|
||||
}
|
||||
|
||||
ajustMinuts(string) {
|
||||
var data = new Date(string);
|
||||
if (data.getMinutes() === 59) {
|
||||
data.setMinutes(0);
|
||||
var novaString = data.toISOString().slice(0, 16).replace("T", " ");
|
||||
|
||||
var partes = string.split(' ');
|
||||
var horaMinuto = partes[1].split(':');
|
||||
if (horaMinuto[1] === '59') {
|
||||
horaMinuto[1] = '00';
|
||||
var novaString = partes[0] + ' ' + horaMinuto.join(':');
|
||||
|
||||
return novaString;
|
||||
} else {
|
||||
return string;
|
||||
}
|
||||
}
|
||||
return string;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user