Jonas 2024-11-28 14:09:58 +01:00 committed by GitHub
commit afdd34db75
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 3 additions and 3 deletions

View File

@ -89,7 +89,7 @@ const EditRoomDialog: React.FC<Props> = ({ room, restriction, updateProperty, op
return <option key={key} value={key}>{label}</option>; return <option key={key} value={key}>{label}</option>;
})} })}
</select> </select>
{(value === Access.Password && room.password) && <CopyToClipboard text={room.password}><input type="text" readOnly={true} className="icon-clippy" value={room.password} /></CopyToClipboard>} {(value === Access.Password && room.password) && <CopyToClipboard text={room.password} options={{format:'text/plain'}}><input type="text" readOnly={true} className="icon-clippy" value={room.password} /></CopyToClipboard>}
{descriptions[field] && <em>{descriptions[field]}</em>} {descriptions[field] && <em>{descriptions[field]}</em>}
</div> </div>
); );

View File

@ -35,7 +35,7 @@ const RecordingRow: React.FC<Props> = ({recording, isAdmin, deleteRecording, sto
</a> </a>
</td> </td>
<td className="share icon-col"> <td className="share icon-col">
<CopyToClipboard text={recording.url}> <CopyToClipboard text={recording.url} options={{format:'text/plain'}}>
<button className="action-item copy-to-clipboard" title={t('bbb', 'Copy to clipboard')}> <button className="action-item copy-to-clipboard" title={t('bbb', 'Copy to clipboard')}>
<span className="icon icon-clippy icon-visible" ></span> <span className="icon icon-clippy icon-visible" ></span>
</button> </button>

View File

@ -230,7 +230,7 @@ const RoomRow: React.FC<Props> = (props) => {
</a> </a>
</td> </td>
<td className="share icon-col"> <td className="share icon-col">
<CopyToClipboard text={api.getRoomUrl(room)}> <CopyToClipboard text={api.getRoomUrl(room)} options={{format:'text/plain'}}>
<button className="action-item copy-to-clipboard" title={t('bbb', 'Copy to clipboard')}> <button className="action-item copy-to-clipboard" title={t('bbb', 'Copy to clipboard')}>
<span className="icon icon-clippy icon-visible" ></span> <span className="icon icon-clippy icon-visible" ></span>
</button> </button>