mirror of
https://github.com/cheeaun/phanpy.git
synced 2025-01-22 16:46:28 +01:00
Fix basic math and logic error, possibly
This commit is contained in:
parent
475fe228af
commit
774605d1ee
1 changed files with 1 additions and 1 deletions
|
@ -1329,7 +1329,7 @@ function Compose({
|
||||||
<input
|
<input
|
||||||
type="file"
|
type="file"
|
||||||
accept={supportedMimeTypes?.join(',')}
|
accept={supportedMimeTypes?.join(',')}
|
||||||
multiple={!(mediaAttachments.length > maxMediaAttachments)}
|
multiple={!(maxMediaAttachments - mediaAttachments.length < 2)}
|
||||||
disabled={
|
disabled={
|
||||||
uiState === 'loading' ||
|
uiState === 'loading' ||
|
||||||
mediaAttachments.length >= maxMediaAttachments ||
|
mediaAttachments.length >= maxMediaAttachments ||
|
||||||
|
|
Loading…
Reference in a new issue