mirror of
https://gitlab.com/MrFry/qmining-page
synced 2025-04-01 20:23:44 +02:00
Chat file and img type msg fix
This commit is contained in:
parent
4491e5a14a
commit
7e93e41edc
3 changed files with 9 additions and 4 deletions
|
@ -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>
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue