Build fix

This commit is contained in:
Zakary Timson 2018-08-19 21:00:30 -04:00
parent d94df9f206
commit 4caed7058c

View File

@ -50,7 +50,6 @@
</mat-form-field> </mat-form-field>
</div> </div>
</div> </div>
<input #fileInput type="file" (change)="imageChanged($event)" hidden>
<mat-action-row> <mat-action-row>
<button mat-button color="warn" (click)="options.splice(i, 1)"> <button mat-button color="warn" (click)="options.splice(i, 1)">
Delete Delete
@ -76,7 +75,6 @@
</mat-form-field> </mat-form-field>
</div> </div>
<mat-divider *ngIf="files?.length"></mat-divider> <mat-divider *ngIf="files?.length"></mat-divider>
<mat-accordion> <mat-accordion>
<mat-expansion-panel *ngFor="let f of files; let i = index"> <mat-expansion-panel *ngFor="let f of files; let i = index">
<mat-expansion-panel-header> <mat-expansion-panel-header>
@ -111,6 +109,7 @@
</div> </div>
</mat-dialog-content> </mat-dialog-content>
<mat-dialog-actions> <mat-dialog-actions>
<input #fileInput type="file" (change)="imageChanged($event)" hidden>
<button mat-raised-button (click)="fileInput.click()"> <button mat-raised-button (click)="fileInput.click()">
<span *ngIf="!image && data.product">Change Display Image</span> <span *ngIf="!image && data.product">Change Display Image</span>
<span *ngIf="!image && !data.product">Add Display Image</span> <span *ngIf="!image && !data.product">Add Display Image</span>