Do not allow attachments if there are link previews
This commit is contained in:
parent
84407cb005
commit
cd91ed6f45
2 changed files with 14 additions and 2 deletions
|
@ -405,7 +405,7 @@ export const CompositionArea = ({
|
|||
/>
|
||||
) : null;
|
||||
|
||||
const attButton = (
|
||||
const attButton = linkPreviewResult ? undefined : (
|
||||
<div className="CompositionArea__button-cell">
|
||||
<button
|
||||
type="button"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue