-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adapted attachment input component to use Bulma CSS styling, show nam… #694
base: master
Are you sure you want to change the base?
Conversation
…e of attached file under preview icon, add .sass-lint.yml (TODO)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
😃
@@ -177,6 +177,7 @@ class AttachmentViewerComponent extends Component { | |||
return ( | |||
<div key={m.id} className="column is-narrow"> | |||
{content} | |||
<div>{m.name}</div> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh! Got it, will do :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please pull newest changes & take a look
const meta = Array(files.length); | ||
const attachments = {}; | ||
const idPromises = Array(files.length); | ||
for (let i = 0; i < files.length; i++) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why did you change it?
Yes, this is no problem and, in practice, these are equivalent and there is no strong reason to choose the one.
Therefore I think I can't find the reason to change it.
…e of attached file under preview icon, add .sass-lint.yml (TODO)
In addressing issue #594