mirror of
https://github.com/cheeaun/phanpy.git
synced 2025-03-14 04:08:32 +03:00
Make patch compatible with #735
This commit is contained in:
parent
3ef323cda1
commit
4638b85cc4
1 changed files with 3 additions and 2 deletions
|
@ -238,7 +238,7 @@ function Compose({
|
|||
charactersReservedPerUrl,
|
||||
} = {},
|
||||
mediaAttachments: {
|
||||
supportedMimeTypes: supportedMediaMimeTypes = [],
|
||||
supportedMimeTypes: supportedMediaMimeTypes = undefined,
|
||||
imageSizeLimit,
|
||||
imageMatrixLimit,
|
||||
videoSizeLimit,
|
||||
|
@ -1474,7 +1474,8 @@ function Compose({
|
|||
class="toolbar-button gif-picker-button"
|
||||
disabled={
|
||||
uiState === 'loading' ||
|
||||
(maxMediaAttachments !== undefined && mediaAttachments.length >= maxMediaAttachments) ||
|
||||
(maxMediaAttachments !== undefined &&
|
||||
mediaAttachments.length >= maxMediaAttachments) ||
|
||||
!!poll
|
||||
}
|
||||
onClick={() => {
|
||||
|
|
Loading…
Add table
Reference in a new issue