mirror of
https://github.com/mattermost/mattermost.git
synced 2026-09-24 16:05:00 +08:00
[MM-62302] Edit message update "post too long" error message placement (#29731)
This commit is contained in:
@@ -822,12 +822,6 @@ const AdvancedTextEditor = ({
|
||||
}</span>
|
||||
</div>) : null
|
||||
}
|
||||
{isInEditMode && (
|
||||
<EditPostFooter
|
||||
onSave={handleSubmitWrapper}
|
||||
onCancel={handleCancel}
|
||||
/>
|
||||
)}
|
||||
<Footer
|
||||
postError={postError}
|
||||
errorClass={errorClass}
|
||||
@@ -837,6 +831,12 @@ const AdvancedTextEditor = ({
|
||||
noArgumentHandleSubmit={handleSubmitWrapper}
|
||||
isInEditMode={isInEditMode}
|
||||
/>
|
||||
{isInEditMode && (
|
||||
<EditPostFooter
|
||||
onSave={handleSubmitWrapper}
|
||||
onCancel={handleCancel}
|
||||
/>
|
||||
)}
|
||||
</form>
|
||||
);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user