]> cat aescling's git repositories - mastodon.git/commit
Fix WebUI allowing to upload more items than the limit (#12300)
authorThibG <thib@sitedethib.com>
Thu, 7 Nov 2019 07:07:03 +0000 (08:07 +0100)
committerEugen Rochko <eugen@zeonfederated.com>
Thu, 7 Nov 2019 07:07:03 +0000 (09:07 +0200)
commit66684c489c3c0bde752d107b02fc3bd6cbcacf04
tree9ea05359ce7c47899520a69f7dd11a5067d1a20a
parent7cdb8c10e97fe9e22411efef4986e6393247e0ee
Fix WebUI allowing to upload more items than the limit (#12300)

Until this patch, drag'n'drop and copy-paste allowed to start uploading as
long as the number of *finished* uploads was below the limit.
app/javascript/mastodon/actions/compose.js
app/javascript/mastodon/features/compose/containers/upload_button_container.js
app/javascript/mastodon/reducers/compose.js