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>
</div> </div>
<div class="aside-content d-none flex-column height-100">
<app-empty-container <app-empty-container
[texto]="emptyTextDescription" [texto]="emptyTextDescription"
*ngIf="!showAttendees" *ngIf="!showAttendees"
class=" aside-right d-flex height-100 flex-column"> class=" aside-right d-flex height-100 flex-column">
</app-empty-container> </app-empty-container>
<app-attendee-modal <app-attendee-modal
*ngIf="showAttendees" *ngIf="showAttendees"
class="aside-right d-flex flex-column height-100" class="aside-right d-flex flex-column height-100"
[adding]="adding" [adding]="adding"
[taskParticipants]="taskParticipants" [taskParticipants]="taskParticipants"
[taskParticipantsCc]="taskParticipantsCc" [taskParticipantsCc]="taskParticipantsCc"
(closeComponent)="closeComponent()" (closeComponent)="closeComponent()"
(setIntervenient)="setIntervenient($event)" (setIntervenient)="setIntervenient($event)"
(setIntervenientCC)="setIntervenientCC($event)" (setIntervenientCC)="setIntervenientCC($event)"
(setContact)="setContact($event)" (setContact)="setContact($event)"
></app-attendee-modal> ></app-attendee-modal>
</div>
@@ -120,4 +120,9 @@
justify-content: space-between; justify-content: space-between;
padding: 20px; padding: 20px;
overflow: auto; overflow: auto;
}
@media only screen and (min-width: 1024px){
.aside-content{
display: block;
}
} }
@@ -100,8 +100,8 @@ export class ViewPublicationsPage implements OnInit {
}, },
(error)=>{ (error)=>{
if(error.status == '404'){ if(error.status == '404'){
console.log('NOT FOUND');
this.error = 'Sem publicações disponíveis!'; this.error = 'Sem publicações disponíveis!';
this.publicationList=null;
this.showLoader = false; this.showLoader = false;
} }