This commit is contained in:
tiago.kayaya
2021-04-08 10:27:35 +01:00
parent 57c830ed88
commit ad0825ce85
3 changed files with 24 additions and 18 deletions
@@ -115,23 +115,24 @@
</div>
</div>
<app-empty-container
[texto]="emptyTextDescription"
*ngIf="!showAttendees"
class=" aside-right d-flex height-100 flex-column">
</app-empty-container>
<app-attendee-modal
*ngIf="showAttendees"
class="aside-right d-flex flex-column height-100"
[adding]="adding"
[taskParticipants]="taskParticipants"
[taskParticipantsCc]="taskParticipantsCc"
(closeComponent)="closeComponent()"
(setIntervenient)="setIntervenient($event)"
(setIntervenientCC)="setIntervenientCC($event)"
(setContact)="setContact($event)"
></app-attendee-modal>
<div class="aside-content d-none flex-column height-100">
<app-empty-container
[texto]="emptyTextDescription"
*ngIf="!showAttendees"
class=" aside-right d-flex height-100 flex-column">
</app-empty-container>
<app-attendee-modal
*ngIf="showAttendees"
class="aside-right d-flex flex-column height-100"
[adding]="adding"
[taskParticipants]="taskParticipants"
[taskParticipantsCc]="taskParticipantsCc"
(closeComponent)="closeComponent()"
(setIntervenient)="setIntervenient($event)"
(setIntervenientCC)="setIntervenientCC($event)"
(setContact)="setContact($event)"
></app-attendee-modal>
</div>
@@ -120,4 +120,9 @@
justify-content: space-between;
padding: 20px;
overflow: auto;
}
@media only screen and (min-width: 1024px){
.aside-content{
display: block;
}
}
@@ -100,8 +100,8 @@ export class ViewPublicationsPage implements OnInit {
},
(error)=>{
if(error.status == '404'){
console.log('NOT FOUND');
this.error = 'Sem publicações disponíveis!';
this.publicationList=null;
this.showLoader = false;
}