mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-20 05:16:07 +00:00
save
This commit is contained in:
@@ -177,10 +177,8 @@
|
||||
<div class="ion-icon-class">
|
||||
<ion-icon slot="start" src="assets/images/icons-description.svg"></ion-icon>
|
||||
</div>
|
||||
<div class="ion-input-class-no-height flex-grow-1">
|
||||
|
||||
<ion-textarea [(ngModel)]="postEvent.Body.Text" placeholder="Detalhes" ></ion-textarea>
|
||||
|
||||
<div class="ion-input-class-no-height width-100">
|
||||
<ion-textarea [(ngModel)]="postEvent.Body.Text" placeholder="Detalhes" rows="6" cols="20"></ion-textarea>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -57,7 +57,6 @@ ion-content{
|
||||
margin-bottom: 15px;
|
||||
}
|
||||
.ion-item-class-2{
|
||||
|
||||
margin: 0px auto;
|
||||
}
|
||||
.ion-icon-class{
|
||||
@@ -81,8 +80,11 @@ ion-content{
|
||||
float: left;
|
||||
}
|
||||
.ion-input-class-no-height{
|
||||
height: auto !important;
|
||||
border: 1px solid #ebebeb;
|
||||
border-radius: 5px;
|
||||
margin-bottom: 15px;
|
||||
overflow: auto;
|
||||
}
|
||||
.list-people{
|
||||
|
||||
@@ -165,11 +167,4 @@ ion-content{
|
||||
color:red;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
.container-div{
|
||||
ion-textarea{
|
||||
height: 81px;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -36,10 +36,15 @@ export class EditEventComponent implements OnInit {
|
||||
private eventsService: EventsService,
|
||||
public alertController: AlertController,
|
||||
) {
|
||||
|
||||
|
||||
}
|
||||
|
||||
ngOnInit() {
|
||||
let innerHtml :string = this.postEvent.Body.Text;
|
||||
this.postEvent.Body.Text = innerHtml;
|
||||
console.log(this.postEvent);
|
||||
|
||||
this.isEventEdited = false;
|
||||
|
||||
if(this.postEvent.IsRecurring == false){
|
||||
@@ -49,13 +54,13 @@ export class EditEventComponent implements OnInit {
|
||||
this.isRecurring = "Repete";
|
||||
}
|
||||
}
|
||||
|
||||
close(){
|
||||
console.log('!!!!!!!!!!!!!!!!! close')
|
||||
this.closeComponent.emit();
|
||||
this.clearContact.emit();
|
||||
}
|
||||
save(){
|
||||
|
||||
this.eventsService.editEvent(this.postEvent, 2, 3).subscribe(async () => {
|
||||
const alert = await this.alertController.create({
|
||||
cssClass: 'my-custom-class',
|
||||
|
||||
Reference in New Issue
Block a user