Kaynağa Gözat

fix: markdown button can't send message (#20933)

tags/1.4.3
非法操作 4 ay önce
ebeveyn
işleme
b2ac11bc47
No account linked to committer's email address

+ 1
- 1
web/app/components/base/markdown-blocks/button.tsx Dosyayı Görüntüle

@@ -14,7 +14,7 @@ const MarkdownButton = ({ node }: any) => {
size={size}
className={cn('!h-auto min-h-8 select-none whitespace-normal !px-3')}
onClick={() => {
if (isValidUrl(link)) {
if (link && isValidUrl(link)) {
window.open(link, '_blank')
return
}

Loading…
İptal
Kaydet