Browse Source

Fix links

pull/1886/head
Gabe Kangas 6 years ago
parent
commit
0f06741309
  1. 2
      web/pages/update-server-config.tsx
  2. 6
      web/pages/upgrade.tsx

2
web/pages/update-server-config.tsx

@ -24,7 +24,7 @@ function SocialHandles({ config }) { @@ -24,7 +24,7 @@ function SocialHandles({ config }) {
title: "URL",
dataIndex: "url",
key: "url",
render: (url) => `<a href="${url}">${url}</a>`
render: (url) => <a href={url}>{url}</a>
},
];

6
web/pages/upgrade.tsx

@ -11,7 +11,7 @@ export default function Logs() { @@ -11,7 +11,7 @@ export default function Logs() {
created_at: null,
body: "",
assets: [],
});
const getRelease = async () => {
@ -58,7 +58,7 @@ function AssetTable(assets) { @@ -58,7 +58,7 @@ function AssetTable(assets) {
dataIndex: "name",
key: "name",
render: (text, entry) =>
`<a href="${entry.browser_download_url}">${text}</a>`,
<a href={entry.browser_download_url}>{text}</a>,
},
{
title: "Size",
@ -69,7 +69,7 @@ function AssetTable(assets) { @@ -69,7 +69,7 @@ function AssetTable(assets) {
},
];
return <Table dataSource={data} columns={columns} rowKey="id" />;
return <Table dataSource={data} columns={columns} rowKey="id" size="large" />;
}
async function fetchData(url) {

Loading…
Cancel
Save