Chat file and img type msg fix

This commit is contained in:
mrfry 2021-06-01 13:52:43 +02:00
parent 4491e5a14a
commit 7e93e41edc
3 changed files with 9 additions and 4 deletions

View file

@ -546,7 +546,13 @@ export default class Chat extends React.Component {
)
} else if (type === 'file') {
return (
<a key={key} href={msg} rel="noreferrer" target="_blank">
<a
className={`${styles.messageEntry}`}
key={key}
href={msg}
rel="noreferrer"
target="_blank"
>
{msg.split('/').slice(-1)}
</a>
)