mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-20 13:26:08 +00:00
git pull made
This commit is contained in:
@@ -164,7 +164,7 @@ export class DocumentSetUpMeetingPage implements OnInit {
|
||||
|
||||
setEndDate() {
|
||||
if(!this.postData.EndDate) {
|
||||
this.postData.EndDate = this.postData.StartDate;
|
||||
this.postData.EndDate = this.roundTimeQuarterHourPlus15(this.postData.StartDate);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -463,6 +463,13 @@ export class DocumentSetUpMeetingPage implements OnInit {
|
||||
return date
|
||||
}
|
||||
|
||||
roundTimeQuarterHourPlus15(date:Date) {
|
||||
const _date = new Date(date);
|
||||
const minutes = _date .getMinutes();
|
||||
_date .setMinutes(minutes + 15)
|
||||
return _date
|
||||
}
|
||||
|
||||
checkRoleInArray(str) {
|
||||
return this._eventService.calendarRole.includes(str);
|
||||
}
|
||||
|
||||
@@ -86,7 +86,7 @@
|
||||
<div *ngIf="loadedEvent.Body.Text">
|
||||
<h5>Detalhes</h5>
|
||||
<ion-item lines="none" class="ion-no-margin ion-no-padding">
|
||||
<div disabled class="width-100" [innerHTML]="loadedEvent.Body.Text" rows="6"></div>
|
||||
<pre class="width-100 text">{{ loadedEvent.Body.Text }} </pre>
|
||||
</ion-item>
|
||||
<div class="line"></div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user