mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2026-09-03 20:53:09 -05:00
Hide videos title on no video
This commit is contained in:
@@ -52,10 +52,12 @@
|
||||
</div>
|
||||
}
|
||||
|
||||
<h2 class="videos-section-title" [ngClass]="{ 'visually-hidden': groupByDate() }">
|
||||
<my-global-icon class="pt-icon me-1" iconName="videos"></my-global-icon>
|
||||
<ng-container i18n>Videos</ng-container>
|
||||
</h2>
|
||||
@if (videos.length !== 0) {
|
||||
<h2 class="videos-section-title" [ngClass]="{ 'visually-hidden': groupByDate() }">
|
||||
<my-global-icon class="pt-icon me-1" iconName="videos"></my-global-icon>
|
||||
<ng-container i18n>Videos</ng-container>
|
||||
</h2>
|
||||
}
|
||||
}
|
||||
|
||||
@for (video of videos; track videoById($index, video)) {
|
||||
|
||||
Reference in New Issue
Block a user