We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b4fca0f + 26ad6a2 commit 5acde45Copy full SHA for 5acde45
frontend/src/components/ServerInfoPage.tsx
@@ -95,12 +95,20 @@ const Info = ({ data }: { data: ServerAllData }) => (
95
</tr>
96
</thead>
97
<tbody>
98
- {Object.entries(data.ru).map(([key, value]) => (
99
- <tr key={key}>
100
- <td>{key}</td>
101
- <td>{value}</td>
102
- </tr>
103
- ))}
+ {Object.entries(data.ru).map(([key, value]) => (
+ <tr key={key}>
+ <td>{key}</td>
+ <td>
+ {key === "weburl" ? (
+ <a href={`https://${value}`} target="_blank" rel="noreferrer">
104
+ {value}
105
+ </a>
106
+ ) : (
107
+ value
108
+ )}
109
+ </td>
110
+ </tr>
111
+ ))}
112
</tbody>
113
</table>
114
</div>
0 commit comments