fix clipboard url

pull/9/head
sualko 2020-04-26 12:14:28 +02:00
parent 80a8e73cd5
commit e12e2b6a24
1 changed files with 1 additions and 1 deletions

View File

@ -73,7 +73,7 @@ const RoomRow: React.FC<Props> = (props) => {
return (
<tr key={room.id}>
<td className="share icon-col">
<CopyToClipboard text={api.getUrl(`b/${room.uid}`)}>
<CopyToClipboard text={window.location.origin + api.getUrl(`b/${room.uid}`)}>
<span className="icon icon-clippy icon-visible copy-to-clipboard" ></span>
</CopyToClipboard>
</td>