]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/commitdiff
Fix my import expander icon
authorChocobozzz <me@florianbigard.com>
Fri, 10 Jun 2022 08:05:50 +0000 (10:05 +0200)
committerChocobozzz <me@florianbigard.com>
Fri, 10 Jun 2022 08:05:50 +0000 (10:05 +0200)
Should not be displayed if there is no import error

client/src/app/+my-library/my-video-imports/my-video-imports.component.html

index e0d4e8f149c62457e21ad5ae491643b927f32378..1525d0bd16c5c745e497a878f0d36d7c3a5c711a 100644 (file)
@@ -24,7 +24,7 @@
   <ng-template pTemplate="body" let-expanded="expanded" let-videoImport>
     <tr>
       <td class="expand-cell" [pRowToggler]="videoImport">
-        <my-table-expander-icon [expanded]="expanded"></my-table-expander-icon>
+        <my-table-expander-icon *ngIf="videoImport.error" [expanded]="expanded"></my-table-expander-icon>
       </td>
 
       <td class="action-cell">