Merge pull request #1169 from daniel-shuy/fix/download-file-type-dropdown-optional

Allow Download File Type dropdown to be deselected
This commit is contained in:
Nikhil Nandagopal 2020-11-05 15:47:18 +05:30 committed by GitHub
commit a110a23574
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -37,6 +37,7 @@ const ALERT_STYLE_OPTIONS = [
];
const FILE_TYPE_OPTIONS = [
{ label: 'Select file type (optional)', value: "", id: "" },
{ label: "Plain text", value: "'text/plain'", id: "text/plain" },
{ label: "HTML", value: "'text/html'", id: "text/html" },
{ label: "CSV", value: "'text/csv'", id: "text/csv" },