|
|
@ -19,14 +19,7 @@ const RoomPermalink = ({ roomId }) => { |
|
|
|
<a href={`/app/#/room/${roomId}`} target="room"> |
|
|
|
<a href={`/app/#/room/${roomId}`} target="room"> |
|
|
|
<img className="RoomPermalink" src={icon} alt={t("permalink.alt")} title={t("permalink.enabled")} /> |
|
|
|
<img className="RoomPermalink" src={icon} alt={t("permalink.alt")} title={t("permalink.enabled")} /> |
|
|
|
</a> |
|
|
|
</a> |
|
|
|
) : ( |
|
|
|
) : null; |
|
|
|
<img |
|
|
|
|
|
|
|
className="RoomPermalink RoomPermalink-disabled" |
|
|
|
|
|
|
|
src={icon} |
|
|
|
|
|
|
|
alt={t("permalink.alt")} |
|
|
|
|
|
|
|
title={t("permalink.disabled")} |
|
|
|
|
|
|
|
/> |
|
|
|
|
|
|
|
); |
|
|
|
|
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
RoomPermalink.propTypes = { |
|
|
|
RoomPermalink.propTypes = { |
|
|
|