Merge pull request #170 from gkconsulting/master

Update Mobile UI and GCP list file acceptance
pull/180/head
Piero Toffanin 2017-05-15 17:14:55 -04:00 zatwierdzone przez GitHub
commit bd843e5753
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -95,7 +95,7 @@ class ProjectListItem extends React.Component {
url : `/api/projects/${this.state.data.id}/tasks/`,
parallelUploads: 9999999,
uploadMultiple: true,
acceptedFiles: "image/*",
acceptedFiles: "image/*, .txt",
autoProcessQueue: true,
createImageThumbnails: false,
clickable: this.uploadButton,
@ -300,7 +300,7 @@ class ProjectListItem extends React.Component {
onClick={this.handleUpload}
ref={this.setRef("uploadButton")}>
<i className="glyphicon glyphicon-upload"></i>
Upload Images
Upload Images and GCP List
</button>
<button disabled={this.state.upload.error !== ""}