fix(images): Fix upload modal to allow both tar and tar.gz images (#2218)

pull/2202/merge
aksappy 2018-08-27 15:43:58 -04:00 committed by Anthony Lapenna
parent 538a2b5ee2
commit bfccf55729
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@
</div>
<div class="form-group">
<div class="col-sm-12">
<button class="btn btn-sm btn-primary" ngf-select ngf-min-size="10" ngf-accept="'application/x-tar'" ng-model="formValues.UploadFile">Select file</button>
<button class="btn btn-sm btn-primary" ngf-select ngf-min-size="10" ngf-accept="'application/x-tar,application/x-gzip'" ng-model="formValues.UploadFile">Select file</button>
<span style="margin-left: 5px;">
{{ formValues.UploadFile.name }}
<i class="fa fa-times red-icon" ng-if="!formValues.UploadFile" aria-hidden="true"></i>