We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c31c9df commit 0aacc15Copy full SHA for 0aacc15
email_composer/src/components/attachment.scss
@@ -31,12 +31,13 @@
31
}
32
33
.file-icon{
34
+ color: #fff;
35
+ display: flex;
36
float: left;
37
+ font-size: 30px;
38
height: 30px;
39
margin: 5px 8px 5px 7px;
40
width: 30px;
- font-size: 30px;
- color: #fff;
41
42
.icon-container-image {
43
background-color: #99ccff;
email_composer/src/containers/Composer.js
@@ -382,6 +382,11 @@ class ComposerWrapper extends Component {
382
});
383
const files = this.getFilesFromEvent(e);
384
const filesFiltered = [...files].filter(item => {
385
+ if (!item.type) {
386
+ const texts = item.name.split('.');
387
+ const ext = texts[texts.length - 1];
388
+ if (ext === 'xls') return true;
389
+ }
390
return !!item.type;
391
392
0 commit comments