fix undefined change ownership icons
authorJosh Morel <morel.josh@hotmail.com>
Mon, 28 Jan 2019 12:01:01 +0000 (07:01 -0500)
committerChocobozzz <chocobozzz@cpy.re>
Mon, 28 Jan 2019 12:48:42 +0000 (13:48 +0100)
client/src/app/+my-account/my-account-ownership/my-account-ownership.component.html
client/src/app/shared/icons/global-icon.component.ts

index 379fd8bb17580b8850e49ad39490cb416cdd01c1..5709e9f543c44f219f5f28c26bfbd0b708940955 100644 (file)
       <td class="action-cell">
         <ng-container *ngIf="videoChangeOwnership.status === 'WAITING'">
           <my-button i18n label="Accept"
-                     icon="icon-tick"
+                     icon="tick"
                      (click)="openAcceptModal(videoChangeOwnership)"></my-button>
           <my-button i18n label="Refuse"
-                     icon="icon-cross"
+                     icon="cross"
                      (click)="refuse(videoChangeOwnership)">Refuse</my-button>
         </ng-container>
       </td>
index 5b9377e3ea3e22b4643cdcd8d1fc423d6bf5a3b3..e8ada0324d82baf37038fbbbd1e3fe451ebc75ea 100644 (file)
@@ -19,6 +19,7 @@ const icons = {
   'delete': require('../../../assets/images/global/delete.html'),
   'cross': require('../../../assets/images/global/cross.html'),
   'validate': require('../../../assets/images/global/validate.html'),
+  'tick': require('../../../assets/images/global/tick.html'),
   'dislike': require('../../../assets/images/video/dislike.html'),
   'heart': require('../../../assets/images/video/heart.html'),
   'like': require('../../../assets/images/video/like.html'),