-
Notifications
You must be signed in to change notification settings - Fork 104
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
added option to upload files when asking a doubt #622
base: development
Are you sure you want to change the base?
Conversation
|
||
@action | ||
uploaded(e) { | ||
this.set("doubt.file_link",e) |
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.
Repeat after me: space after a comma
@@ -33,6 +33,15 @@ export default FileField.extend({ | |||
} | |||
}) | |||
|
|||
if(this.maxSize){ |
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.
I think we should just give a default value to maxSize for file-upload-minio
component. We never allow unlimited size uploads and backend checks will ensure this anyways. It makes sense to use a reasonable default here and skip the "existence" check
No description provided.