FIX: upload emojis sequentially to prevent rate limit
This commit is contained in:
parent
4d674acc25
commit
94fe0af900
|
@ -7,6 +7,12 @@ export default Ember.Component.extend(UploadMixin, {
|
|||
hasName: Ember.computed.notEmpty("name"),
|
||||
addDisabled: Ember.computed.not("hasName"),
|
||||
|
||||
uploadOptions() {
|
||||
return {
|
||||
sequentialUploads: true,
|
||||
};
|
||||
},
|
||||
|
||||
@computed("hasName", "name")
|
||||
data(hasName, name) {
|
||||
return hasName ? { name } : {};
|
||||
|
|
Loading…
Reference in New Issue