added a condition on dynamic bullets

This commit is contained in:
Eudes Inácio
2024-04-09 11:49:53 +01:00
parent 5c3cf61e94
commit 7d28dd57e8
4 changed files with 58 additions and 1 deletions
@@ -65,7 +65,7 @@
</div> -->
<div class="dots-container">
<div *ngIf="publication.Files.length > 2" class="dots-container">
<span *ngFor="let files of publication.Files; let k = index"
[class.dotsSwiper]="true"
[class.active-dot]="swiperIndex === k"
@@ -288,6 +288,8 @@ export class ViewPublicationsPage implements OnInit {
this.arrayOfFile = Publication.Files
let publicationDetails: Publication = this.publicationPipe.itemList(Publication)
const findIndex = this.publicationFindIndex(publicationId, folderId)
const found = this.publicationIsPresent(publicationId, folderId)